foo(int p)1int foo(int p) 2 { 3 goto inside; 4 if (0 && ({ 5 inside: 6 return 1; 7 2; 8 })) 9 return 3; 10 return 4; 11 } 12 bar(int p)13int bar(int p) 14 { 15 if (0 && ({ 16 inside: 17 return 1; 18 2; 19 })) 20 return 3; 21 goto inside; 22 } 23 24 /* 25 * check-name: goto-stmt-expr-short-circuit 26 * check-command: test-linearize -Wno-decl $file 27 * 28 * check-error-ignore 29 * check-output-ignore 30 * check-output-excludes: END 31 */ 32