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" }
}