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