URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [static6.C] - Rev 149
Go to most recent revision | 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(){}
Go to most recent revision | Compare with Previous | Blame | View Log