1 // Test that breaking out of a handler works. 2 // { dg-do run } 3 4 int main () 5 { 6 while (1) 7 { 8 try { throw 1; } 9 catch (...) { break; } 10 } 11 } 12