Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
eh
/
loop2.C
blob: 1e85fa1af22b60045e37f8a2d16554381f6a80b9 [
file
] [
log
] [
blame
]
// Test that breaking out of a handler works.
// { dg-do run }
int
main
()
{
while
(
1
)
{
try
{
throw
1
;
}
catch
(...)
{
break
;
}
}
}