c++: hash table ICE with variadic alias [PR105003]
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / pr81060.C
blob673ec1587d6b0144f320e0ab664148dc45492a99
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 "packs not expanded" }
11 = []{ return 0; }(); // BOOM!