blob: 06b75298338ecd3b7130c0ac4bc3a959663a206b [file] [log] [blame]
// { dg-lto-do link }
// { dg-require-effective-target fpic }
// { dg-lto-options {{-fPIC}} }
// { dg-extra-ld-options "-fPIC -r -nostdlib -flinker-output=nolto-rel" }
class DataArray {
int max() const { return 0; }
};
template < class HashItem >
class DataHashTable {
template < class ElemHashItem >
class Element { };
typedef Element< HashItem > Elem;
DataArray m_elem;
};
class Name { };
class NameSet {
DataHashTable < Name > hashtab;
};
NameSet p;