1 // { dg-do run { xfail sparc64-*-elf arm-*-pe } }
2 // { dg-options "-fexceptions" }
8 exit (0); // Double faults should call terminate
14 #if __cplusplus <= 201402L
15 throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
20 std::set_terminate (my_terminate);
21 throw 1; // This throws from EH dtor, should call my_terminate
31 A a; // A hit on this EH dtor went to the wrong place