1static void ok_lvl2(void) 2{ 3 __label__ l; 4 5 { 6 l: 7 goto l; 8 } 9} 10 11static void ko_expr2(void) 12{ 13 { 14 __label__ a; 15 16 ({ 17a: 18 0; 19 }); 20 goto a; 21 } 22} 23 24/* 25 * check-name: label-scope2 26 * 27 * check-error-start 28label-scope2.c:20:17: error: label 'a' used outside statement expression 29label-scope2.c:17:1: label 'a' defined here 30 * check-error-end 31 */ 32