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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr85405b_0.C
blob
201142bc1a3efdb927b8b8af940df25c2e8e1879
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
6
class VclReferenceBase {
7
int mnRefCnt;
8
int mbDisposed : 3;
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; }