blob: 38ce086f2e2f101539a3e123e67cbe4120ac301e [file] [log] [blame]
Chris Lattner7698e4e2004-03-16 08:49:48 +00001int code[]={0,0,0,0,1};
2void foo(int x) {
3 volatile int b;
4 b = 0xffffffff;
5}
6void bar(int *pc) {
7 static const void *l[] = {&&lab0, &&end};
8
9 foo(0);
10 goto *l[*pc];
11 lab0:
12 foo(0);
13 pc++;
14 goto *l[*pc];
15 end:
16 return;
17}
18int main() {
19 bar(code);
20 return 0;
21}