]>
Commit | Line | Data |
---|---|---|
2d1245b8 RS |
1 | // { dg-do compile } |
2 | ||
3 | struct S { void f (void); }; | |
4 | ||
51dc6603 JM |
5 | typedef void f1 (void) throw (int); // { dg-error "exception" "" { target c++14_down } } |
6 | typedef void (*f2) (void) throw (int); // { dg-error "exception" "" { target c++14_down } } | |
7 | typedef void (S::*f3) (void) throw (int); // { dg-error "exception" "" { target c++14_down } } | |
2d1245b8 RS |
8 | |
9 | void (*f4) (void) throw (int); | |
10 | void (S::*f5) (void) throw (int); |