1 // { dg-do compile  { target c++11 } }
2 // PR 81050 ICE in invalid after error
3 
4 template<typename... T> struct A
5 {
6   static const int i;
7 };
8 
9 template<typename... T>
10 const int A<T>::i // { dg-error "packs not expanded" }
11 = []{ return 0; }(); // BOOM!
12