OSDN Git Service

* g++.dg/eh/forced1.C: Use _Unwind_SjLj_ForcedUnwind as appropriate.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / eh / spec2.C
1 // { dg-do compile }
2
3 struct S { void f (void); };
4
5 typedef void f1 (void) throw (int); // { dg-error "exception" }
6 typedef void (*f2) (void) throw (int); // { dg-error "exception" }
7 typedef void (S::*f3) (void) throw (int); // { dg-error "exception" }
8
9 void (*f4) (void) throw (int);
10 void (S::*f5) (void) throw (int);