summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20091002-3_0.C
blob: 3c77f4b596fcdaab92082fc2c4f8036b8c953dcc (plain)
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;