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