// S : tags c++ $TAGS // S : expect --result valid // S : cc -o test.bc $CC_OPT $file // S : verify $V_OPT test.bc #include #include struct X { X() { throw 0; } }; int main() { int y = 0; try { X x; } catch( int ) { y = 2; } assert( y == 2 ); return 0; }