Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.eh/crash3.C

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