Sign in
gnu
/
gcc
/
19220ca6aa79921cc431e41f25986e16410c7a6a
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
error3.C
blob: bd5d70109457f3c0f7d24a75c203966518c6182b [
file
] [
log
] [
blame
]
// Test for proper error message formatting; the throw() should go inside
// the parens, as below.
void
(*
g
()
throw
())();
// { dg-error "g\\(\\) throw" "" }
void
(*
g
())();
// { dg-error "" "" }