URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [static6.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do link { xfail *-*-aout *-*-coff *-*-hpux* *-*-hms } }
// Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
template <class T> struct A {
static const int l[1];
};
template<class T>
const int A<T>::l[1] = {1};
int i = A<int>::l[0];
int main(){}