Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/lto/pr86585_0.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children |
rev | line source |
---|---|
131 | 1 // { dg-lto-do link } |
2 // { dg-require-effective-target fpic } | |
3 // { dg-require-effective-target shared } | |
4 // { dg-lto-options { { -flto -g -nostdlib -shared -fPIC } } } | |
5 namespace Inkscape { | |
6 class a; | |
7 } | |
8 class b { | |
9 Inkscape::a *c; | |
10 virtual void d(); | |
11 }; | |
12 class e { | |
13 b f; | |
14 }; | |
15 class g : e { | |
16 void h(); | |
17 }; | |
18 void g::h() {} |