(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
other/
error3.C
// Test for proper error message formatting; the throw() should go inside
// the parens, as below.

void (*g() throw())();		// { dg-message "g\\(\\) throw" "" { target { ! c++17 } } }
				// { dg-message "g\\(\\) noexcept" "" { target c++17 } .-1 }
void (*g())();			// { dg-error "" }