- add missing initialization of have_const_functions
[cparser] / parsetest / gnu99 / computed_goto.c
1 int test(int x) {
2         static void *array[] = { &&foo, &&bar, &&hack };
3
4         goto *array[x];
5 foo:    return 1;
6 bar:    return 2;
7 hack:   return 3;
8 }
9
10 int main(int argc, char *argv[]) {
11         return test(1) == 2 ? 0 : 1;
12 }