]>
Commit | Line | Data |
---|---|---|
c7837f7e PC |
1 | // PR c++/32080 |
2 | ||
3 | void f() | |
4 | try | |
5 | { | |
61a1a73e | 6 | goto l2; // { dg-message "from here" } |
c7837f7e PC |
7 | l1: ; // { dg-error "jump to label 'l1'" } |
8 | } catch (...) | |
9 | { | |
61a1a73e | 10 | l2: ; // { dg-error "jump to label 'l2'" } |
a9c697b8 MS |
11 | // { dg-message "enters 'catch' block" "" { target *-*-*} .-1 } |
12 | goto l1; // { dg-message "from here|enters 'try' block" } | |
c7837f7e | 13 | } |