[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / lto / pr48042_0.C
blob4ca1a0cebfe4f46823df44ae165b38316906fdf7
1 // { dg-lto-do link }
2 // { dg-extra-ld-options "-r -nostdlib -g" }
4 class A {
5     virtual int x() = 0;
6 };
8 class B:public A {
9     int x();
12 int B::x() {
13     return 0;