1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// { dg-lto-do link } // { 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;