URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lto/] [20091002-3_0.C] - Rev 693
Compare with Previous | Blame | View Log
// { dg-lto-do link }
// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC}} }
// { dg-extra-ld-options "-fPIC -r -nostdlib" }
template < class T >
class DataArray {
int max() const { }
};
class Name { };
class DataHashTable {
template < class ElemHashItem > class Element { };
DataArray < Element < Name > > m_elem;
};
DataHashTable p;