blob: 8ec2998efd481e19cd090fac9c570e722b692788 [file] [log] [blame]
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions" }
class MyError { };
int main (int argc, char **argv) {
try {
throw MyError();
}
catch (MyError x) {
}
return 0;
}