Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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
{
}