Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb66.C
blob: 3088593656e1901c52f826ebc004477462c05e02 [
file
] [
log
] [
blame
]
// { dg-do run }
#include
<cassert>
#include
<iostream>
int
bar
()
{
throw
100
;
}
int
main
()
{
int
i
=
0
;
try
{
i
=
bar
();
}
catch
(...)
{
}
// std::cout << "i = " << i << std::endl;
assert
(
i
==
0
)
;
}