Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / vt-34919.C
blob829579918e16bb3abef906937451648c68ba3646
1 // { dg-options "-std=c++0x" }
2 template<int... N> struct A
4   static void foo()
5   {
6     int i = N; // { dg-error "not expanded|N" }
7   }
8 };
10 void bar()
12   A<0>::foo();