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
* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
pr48042_0.C
blob
7754e7ec64fdf764965ce301f01a907c526c2fd9
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
}