Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef6.C
blob: c95945966fad5de1c84282d6713773612f7d1001 [
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 "not a type|forbids declaration|invalid use of" }