1 // { dg-do compile { target c++11 } } 2 3 struct A 4 { 5 virtual void f() = 0; 6 }; 7 8 struct B: A 9 { fB10 void f() { } 11 }; 12 13 B b; 14