1 // A goto or switch statement shall not be used to transfer control into a
2 // synchronized or atomic block.
3 // { dg-options "-fgnu-tm" }
10 inside: // { dg-message "" }
13 goto inside; // { dg-message "" }
18 ++i; // { dg-warning "statement will never be executed" }
19 case 42: // { dg-error "" }