1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// { dg-do assemble } // Origin: Marc Espie <Marc.Espie@liafa.jussieu.fr> // Used to use -fsjlj-exceptions, but that isn't an option anymore. extern double f(double a); void a() { double e; double value; if (e == 0) throw 1; value = f(e); }