2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / static6.C
blob0866e2e16d79aafca23e66082a4e5461c922860f
1 // { dg-do link { xfail *-*-aout *-*-coff *-*-hpux* *-*-hms } }
3 // Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
5 template <class T> struct A {
6  static const int l[1];
7 };
9 template<class T>
10 const int A<T>::l[1] = {1};
12 int i = A<int>::l[0];
14 int main(){}