Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash48.C
blob: 020ddf079acb33f947e15253d4a32f00a0590553 [
file
] [
log
] [
blame
]
// PR c++/37530
// { dg-do compile }
void
foo
(
bool
b
)
{
if
(
b
)
try
{
throw
0
;
}
catch
(
X
)
{
}
// { dg-error "type" }
}