Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}