repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2015-03-24 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20091002-3_0.C
blob
4bff78b49372f731d70e55c1a668ba0dfb7402f8
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