* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr81060.C
blob67b2b38596abefc6ecfc7e7963563f1891bb6007
1 // { dg-do compile  { target c++11 } }
2 // PR 81050 ICE in invalid after error
4 template<typename... T> struct A
6   static const int i;
7 };
9 template<typename... T>
10 const int A<T>::i // { dg-error "template definition of non-template" }
11 = []{ return 0; }(); // BOOM!