// { dg-do link } // { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } { "*" } { "" } } // Simplified from testcase by Erez Louidor Lior template struct A { static const int l[1]; }; template const int A::l[1] = {1}; int i = A::l[0]; int main(){}