Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef6.C
blob: a6202b551818f61c3793b9da5503fae94e793bf2 [
file
] [
log
] [
blame
]
//PR c++/28303
template
<
typename
T
>
struct
A
{
typedef
struct
typename
T
::
X X
;
// { dg-error "expected identifier|two or more" }
};
template
<
typename
T
>
A
<
T
>::
X
::
X
()
{}
// { dg-error "expected|not a type|forbids declaration|invalid use of" }