1f08c3bdfSopenharmony_cistatic int foo(void) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci goto l; 4f08c3bdfSopenharmony_ci ({ 5f08c3bdfSopenharmony_cil: 6f08c3bdfSopenharmony_ci 0; 7f08c3bdfSopenharmony_ci }); 8f08c3bdfSopenharmony_ci goto l; 9f08c3bdfSopenharmony_ci} 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_cistatic void bar(void) 12f08c3bdfSopenharmony_ci{ 13f08c3bdfSopenharmony_ci goto l; 14f08c3bdfSopenharmony_ci goto l; 15f08c3bdfSopenharmony_ci ({ 16f08c3bdfSopenharmony_cil: 17f08c3bdfSopenharmony_ci 0; 18f08c3bdfSopenharmony_ci }); 19f08c3bdfSopenharmony_ci} 20f08c3bdfSopenharmony_ci 21f08c3bdfSopenharmony_cistatic void baz(void) 22f08c3bdfSopenharmony_ci{ 23f08c3bdfSopenharmony_ci ({ 24f08c3bdfSopenharmony_cil: 25f08c3bdfSopenharmony_ci 0; 26f08c3bdfSopenharmony_ci }); 27f08c3bdfSopenharmony_ci goto l; 28f08c3bdfSopenharmony_ci goto l; 29f08c3bdfSopenharmony_ci} 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_ci/* 32f08c3bdfSopenharmony_ci * check-name: label-stmt-expr2 33f08c3bdfSopenharmony_ci * 34f08c3bdfSopenharmony_ci * check-error-start 35f08c3bdfSopenharmony_cilabel-stmt-expr2.c:3:9: error: label 'l' used outside statement expression 36f08c3bdfSopenharmony_cilabel-stmt-expr2.c:5:1: label 'l' defined here 37f08c3bdfSopenharmony_cilabel-stmt-expr2.c:8:9: error: label 'l' used outside statement expression 38f08c3bdfSopenharmony_cilabel-stmt-expr2.c:5:1: label 'l' defined here 39f08c3bdfSopenharmony_cilabel-stmt-expr2.c:13:9: error: label 'l' used outside statement expression 40f08c3bdfSopenharmony_cilabel-stmt-expr2.c:16:1: label 'l' defined here 41f08c3bdfSopenharmony_cilabel-stmt-expr2.c:27:9: error: label 'l' used outside statement expression 42f08c3bdfSopenharmony_cilabel-stmt-expr2.c:24:1: label 'l' defined here 43f08c3bdfSopenharmony_cilabel-stmt-expr2.c:28:9: error: label 'l' used outside statement expression 44f08c3bdfSopenharmony_cilabel-stmt-expr2.c:24:1: label 'l' defined here 45f08c3bdfSopenharmony_ci * check-error-end 46f08c3bdfSopenharmony_ci */ 47