blob: e9f1ca515a21feb942143e166f9e018024695718 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// PR c++/32080
void f()
try
{
goto l2; // { dg-message "from here" }
l1: ; // { dg-error "jump to label 'l1'" }
} catch (...)
{
l2: ; // { dg-error "jump to label 'l2'" }
// { dg-message "enters catch block" "" { target *-*-*} 10 }
goto l1; // { dg-message "from here|enters try block" }
}
|