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;
}