3 struct A { virtual ~A(); };
4 struct B { virtual ~B(); };
9 virtual B* foo(volatile int); // { dg-warning "deprecated" "" { target c++2a } }
14 virtual C* foo(volatile int); // { dg-warning "deprecated" "" { target c++2a } }
17 C* Y::foo(volatile int) { return 0; } // { dg-warning "deprecated" "" { target c++2a } }