repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef6.C
blob
c95945966fad5de1c84282d6713773612f7d1001
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" }