summaryrefslogtreecommitdiff
path: root/util/romcc/tests/simple_test75.c
blob: ae28a3ce1a305452bb9d55a604880eb5ab9d1236 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
static void goto_test(void)
{
	int i;

	i = 0;
	goto bottom;
	{
	top:
		i = i + 1;
	}
 bottom:
	if (i < 10) {
		goto top;
	}
	;
}

static void main(void)
{
	goto_test();
}