OSDN Git Service

PR c++/51186
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lto / 20091002-3_0.C
1 // { dg-lto-do link }
2 // { dg-require-effective-target fpic }
3 // { dg-lto-options {{-fPIC}} }
4 // { dg-extra-ld-options "-fPIC -r -nostdlib" }
5
6 template < class T > 
7 class DataArray {
8     int max() const { }
9 };
10 class Name { };
11 class DataHashTable {
12     template < class ElemHashItem > class Element { };
13     DataArray < Element < Name > > m_elem;
14 };
15 DataHashTable p;
16