summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081204-1_1.C
blob: 20627b5c54d1c2906d6087059bc36cbc1871b531 (plain)
1
2
3
struct Foo { virtual ~Foo(); };
struct Bar:public Foo { Bar() { } };
void Func() { new Bar(); }