OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Restore canonical type comparison for dependent type(def)s
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash81.C
1
// PR c++/34485
2
3
struct A
4
{
5
template<T::X> struct X; // { dg-error "'T' has not been declared" "T" }
6
// { dg-error "declaration of 'template<int X> struct A::X'" "A::X" { target *-*-* } 5 }
7
// { dg-error "shadows template parm 'int X'" "shadow" { target *-*-* } 5 }
8
};