2 // { dg-do compile { target c++14_down } }
6 void bar() throw(int); // { dg-message "throw \\(int\\)" }
7 }; // { dg-warning "deprecated" "" { target c++11 } .-1 }
10 void foo<int>::bar() throw(float) {} // { dg-error "throw \\(float\\)" }
11 // { dg-warning "deprecated" "" { target c++11 } .-1 }