1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
// PR c++/36191 // { dg-do compile } // { dg-options "-fnon-call-exceptions" } // { dg-skip-if "Frame pointer required for unwind tables" { m68k*-*-* fido*-*-* } "-fomit-frame-pointer" "" } __complex__ double foo (__complex__ double x, double y) { try { return x / y; } catch (char *s) { return x; } }