Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr48042_0.C

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 }