1// { dg-do link } 2// { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } { "*" } { "" } } 3 4// Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il> 5 6template <class T> struct A { 7 static const int l[1]; 8}; 9 10template<class T> 11const int A<T>::l[1] = {1}; 12 13int i = A<int>::l[0]; 14 15int main(){} 16