Sign in
llvm
/
llvm-archive
/
089ca8750d7cd1f1ec96968922bf4bcfe223bb3a
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
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 "" "" }