Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr33839.C
blob: 50bcfe81cf5a6424d635960342a2db2d263b67a5 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++11 } }
template
<int>
struct
A
;
void
foo
()
{
__decltype A
<
0
>;
// { dg-error "invalid declarator|expected" }
__decltype
(
A
<
0
>);
// { dg-error "must be an expression" }
}