]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/lto/20091002-3_0.C
Merge lto branch into trunk.
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / lto / 20091002-3_0.C
1 // { dg-lto-do link }
2 // { dg-lto-options {{-fPIC}} }
3 // { dg-extra-ld-options "-fPIC -shared" }
4
5 template < class T >
6 class DataArray {
7 int max() const { }
8 };
9 class Name { };
10 class DataHashTable {
11 template < class ElemHashItem > class Element { };
12 DataArray < Element < Name > > m_elem;
13 };
14 DataHashTable p;
15