// Tests for the fix for PR debug/49366. struct B { void g(); virtual void v() = 0; virtual void w(); }; void B::g() {} void B::w() {} struct S : B { void f(); void v(); void u(); }; void S::f() {} void S::v() {} template void t() {} template void t() {}