Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/pr85405_0.C @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
131 | 1 // { dg-lto-do link } |
2 // { dg-require-effective-target shared } | |
3 // { dg-require-effective-target fpic } | |
4 // { dg-lto-options {{-fPIC -shared -flto}} } | |
5 | |
145 | 6 class VclReferenceBase { |
131 | 7 int mnRefCnt; |
8 bool mbDisposed : 1; | |
9 virtual ~VclReferenceBase(); | |
10 }; | |
11 class a; | |
12 class b { | |
13 a &e; | |
14 bool c(); | |
15 }; | |
16 class B { | |
17 VclReferenceBase d; | |
18 }; | |
19 class a : B {}; | |
20 bool b::c() { return false; } |