Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
crash3.C
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
{
}