* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr48042_0.C
blob7754e7ec64fdf764965ce301f01a907c526c2fd9
1 // { dg-lto-do link }
2 // { dg-extra-ld-options "-r -nostdlib -g -flinker-output=nolto-rel" }
4 class A {
5     virtual int x() = 0;
6 };
8 class B:public A {
9     int x();
12 int B::x() {
13     return 0;