☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr48042_0.C
☽
☼
gcc/testsuite/g++.dg/lto/pr48042_0.C
code
plain
raw
1
// { dg-lto-do link }
2
// { dg-extra-ld-options "-r -nostdlib -g -flinker-output=nolto-rel" }
3
4
class A {
5
virtual int x() = 0;
6
};
7
8
class B:public A {
9
int x();
10
};
11
12
int B::x() {
13
return 0;
14
}