Hackfix and re-enable strtoull and wcstoull, see bug #3798.
[sdcc.git] / sdcc / support / regression / tcc / 54_goto.c
blobb0a3f2d9e090ca493ea62e5f90a4b0d2bb86e7a5
1 #include <stdio.h>
3 void fred(void)
5 printf("In fred()\n");
6 goto done;
7 printf("In middle\n");
8 done:
9 printf("At end\n");
12 void joe(void)
14 int b = 5678;
16 printf("In joe()\n");
19 int c = 1234;
20 printf("c = %d\n", c);
21 goto outer;
22 printf("uh-oh\n");
25 outer:
27 printf("done\n");
30 void henry(void)
32 printf("In henry()\n");
33 goto inner;
36 int b;
37 inner:
38 b = 1234;
39 printf("b = %d\n", b);
42 printf("done\n");
45 int main(void)
47 fred();
48 joe();
49 henry();
51 return 0;
54 /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/