ispc/ispc — Issue #126: declaring array of function pointers causes undeclared symbol error
Author: mmp
Created: 2011-12-02 18:09:28+00:00
State: open
Labels: bugs

This code:

```
int inc(int v) { return v+1; }
int dec(int v) { return v-1; }

int foo() {
int (*fptr_array[16])(int);
fptr_array[0] = inc;
fptr_array[1] = dec;
}
```

Gives errors about "fptr_array" being undeclared.