blob: 97187ae5e6c3ec667197a24ad5206ad26ad6656d [file] [log] [blame]
Eric Biederman83b991a2003-10-11 06:20:25 +00001#include "linux_syscall.h"
2#include "linux_console.h"
3static 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
24static void main(void)
25{
26 goto_test();
27 _exit(0);
28}