1 // { dg-do run { target c++11 } }
6 template<typename... Exceptions> void f(int idx)
7 #if __cplusplus <= 201402L
8 throw(Exceptions...) // { dg-warning "deprecated" "" { target { ! c++17 } } }
11 if (idx == 0) throw A();
12 else if (idx == 1) throw B();
13 else if (idx == 2) throw C();
16 extern "C" void abort();