Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
catch2.C
blob: 528d6c74125b5ad09c33b2343c455beb03a7455e [
file
] [
log
] [
blame
]
// PR c++/62046
void
foo
()
{
}
catch
(...);
// { dg-error "expected" }
class
bar
{
void
foo
()
{
}
catch
(...);
};
// { dg-error "expected" }