1 // { dg-do assemble } 2 athrow(const int & e)3 void athrow(const int & e) 4 #if __cplusplus <= 201402L 5 throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } } 6 #endif 7 { 8 throw e; 9 } 10 main(void)11 int main(void) 12 { 13 athrow(int()); 14 return 0; 15 } 16