☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gcc.dg
/
c11-labels-1.c
☽
☼
gcc/testsuite/gcc.dg/c11-labels-1.c
code
plain
raw
1
/* Tests for labels before declarations and at ends of compound statements. */
2
/* { dg-do compile } */
3
/* { dg-options "-std=c11" } */
4
5
int f(int x)
6
{
7
goto b;
8
a: int i = 2 * x;
9
goto c;
10
b: goto a;
11
{ i *= 3; c: }
12
return i;
13
d:
14
}
15