summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34919.C
blob: 829579918e16bb3abef906937451648c68ba3646 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-options "-std=c++0x" }
template<int... N> struct A
{
  static void foo()
  {
    int i = N; // { dg-error "not expanded|N" }
  }
};

void bar()
{
  A<0>::foo();
}