URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [eh/] [loop2.C] - Rev 338
Compare with Previous | Blame | View Log
// Test that breaking out of a handler works.
// { dg-do run }
int main ()
{
while (1)
{
try { throw 1; }
catch (...) { break; }
}
}