Sign in
llvm
/
llvm-archive
/
276bde03595d52e26812d2712817bc876da8ee7b
/
.
/
llvm-gcc-4.2
/
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 "" "" }