Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-4.6.0
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr33839.C
blob: 0a6610ac995335ec3a754313b3dd59a123954d6e [
file
] [
log
] [
blame
]
// { dg-options -std=c++0x }
template
<int>
struct
A
;
void
foo
()
{
__decltype A
<
0
>;
// { dg-error "invalid declarator|expected" }
__decltype
(
A
<
0
>);
// { dg-error "must be an expression" }
}