* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / auto25.C
blob9e08a5bf38186ad888432a9b41aca07092195c9d
1 // PR c++/42056
2 // { dg-do compile { target c++11 } }
4 template<int> struct A
6   int a[auto(1)]; // { dg-error "invalid use of" }
7 };
9 template<int> void foo()
11   int a[auto(1)]; // { dg-error "invalid use of" }