1 // Test for proper error message formatting; the throw() should go inside
2 // the parens, as below.
4 void (*g() throw())(); // { dg-message "g\\(\\) throw" "" { target { ! c++1z } } }
5 // { dg-message "g\\(\\) noexcept" "" { target c++1z } .-1 }
6 void (*g())(); // { dg-error "" "" }