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