blob: 804aa326d971b1e10150236eab072dd1ebe80cf4 [file] [log] [blame]
// PR c++/23947
// { dg-do compile }
class A {};
class B {};
class C : public A, public B {};
class D : public C {};
void f ()
#if __cplusplus <= 201402L
throw (D) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
}