Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.eh
/
throw1.C
blob: 3c37c523a406059b705be82d9f875a0ef6e85167 [
file
] [
log
] [
blame
]
// { dg-do assemble }
void
athrow
(
const
int
&
e
)
#if __cplusplus <= 201402L
throw
(
int
)
// { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
#endif
{
throw
e
;
}
int
main
(
void
)
{
athrow
(
int
());
return
0
;
}