1 // PR c++/40405 2 3 template<int, int> struct A 4 { 5 static int i; 6 }; 7 8 template<int> int A<0,0>::i = 0; // { dg-error "" } 9 10 int j = A<0,0>::i; 11