[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / lto / 20081204-1_1.C
blob20627b5c54d1c2906d6087059bc36cbc1871b531
1 struct Foo { virtual ~Foo(); };
2 struct Bar:public Foo { Bar() { } };
3 void Func() { new Bar(); }