aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/template/error49.C
blob: 57789a79aa9c8eec623f7bd18c26e3603fca2572 (plain)
1
2
3
4
5
6
7
8
9
10
// PR c++/40405

template<int, int> struct A
{
  static int i;
};

template<int> int A<0,0>::i = 0; // { dg-error "" }

int j = A<0,0>::i;