URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [static6.C] - Rev 305
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do link }
// { dg-xfail-if "" { *-*-aout *-*-coff *-*-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