* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr33839.C
blob50bcfe81cf5a6424d635960342a2db2d263b67a5
1 // { dg-do compile { target c++11 } }
2 template<int> struct A;
4 void foo()
6   __decltype A<0>; // { dg-error "invalid declarator|expected" }
7   __decltype (A<0>); // { dg-error "must be an expression" }