1 // { dg-do compile { target c++11 } }
2 template<int... N> struct A
3 {
fooA4   static void foo()
5   {
6     int i = N; // { dg-error "not expanded|N" }
7   }
8 };
9 
bar()10 void bar()
11 {
12   A<0>::foo();
13 }
14