projects
/
coreboot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
97187ae5e6c3ec667197a24ad5206ad26ad6656d
[coreboot.git]
/
util
/
romcc
/
tests
/
linux_test3.c
1
#include "linux_syscall.h"
2
#include "linux_console.h"
3
static void goto_test(void)
4
{
5
int i;
6
print_debug("goto_test\n");
7
8
i = 0;
9
goto bottom;
10
{
11
top:
12
print_debug("i = ");
13
print_debug_hex8(i);
14
print_debug("\n");
15
16
i = i + 1;
17
}
18
bottom:
19
if (i < 10) {
20
goto top;
21
}
22
}
23
24
static void main(void)
25
{
26
goto_test();
27
_exit(0);
28
}