// PR c++/40405 template struct A { static int i; }; template int A<0,0>::i = 0; // { dg-error "" } int j = A<0,0>::i;