Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / X86 / Inputs / indirect_goto.c
blobb781e9e03b6d44b40567a3111d64394399ad4421
1 int main(int argc, char *argv[]) {
2 static const void *T1[] = { &&L1, &&L2 };
3 static const void *T2[] = { &&L2, &&L3 };
5 const void **T = (argc > 1) ? T1 : T2;
7 int i = 0;
9 L0:
10 goto *T[argc];
11 L1:
12 ++i;
13 L2:
14 i++;
15 L3:
16 i++;
17 return i;