Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/20091002-2_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 1 // { dg-lto-do link } |
2 // { dg-require-effective-target fpic } | |
3 // { dg-lto-options {{-fPIC}} } | |
131 | 4 // { dg-extra-ld-options "-fPIC -r -nostdlib -flinker-output=nolto-rel" } |
111 | 5 |
6 class DataArray { | |
131 | 7 int max() const { return 0; } |
111 | 8 }; |
9 template < class HashItem > | |
10 class DataHashTable { | |
11 template < class ElemHashItem > | |
12 class Element { }; | |
13 typedef Element< HashItem > Elem; | |
14 DataArray m_elem; | |
15 }; | |
16 class Name { }; | |
17 class NameSet { | |
18 DataHashTable < Name > hashtab; | |
19 }; | |
20 NameSet p; | |
21 |