Fix Ada runtime library breakage on Solaris
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static6.C
blobb2928538bdbd2afeb06807f0c12ea2970c1138e9
1 // { dg-do link }
2 // { dg-xfail-if "" { *-*-aout *-*-coff *-*-hms } }
4 // Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
6 template <class T> struct A {
7  static const int l[1];
8 };
10 template<class T>
11 const int A<T>::l[1] = {1};
13 int i = A<int>::l[0];
15 int main(){}