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
* pt.c (type_unification_real): Set input_location
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef6.C
1
//PR c++/28303
2
3
template<typename T> struct A
4
{
5
typedef struct typename T::X X; // { dg-error "expected identifier|two or more" }
6
};
7
8
template<typename T> A<T>::X::X() {} // { dg-error "not a type|forbids declaration|invalid use of" }