Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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
;
}