fuhsnn / slimcc

C11 compiler with GNU extensions for x86-64 Linux, working towards C23
MIT License
42 stars 6 forks source link

Incomplete tentative arrays should be assumed to have one element #79

Closed fuhsnn closed 2 months ago

fuhsnn commented 2 months ago
int x[];
int main(void) {
  return x[0];
}

Got undefined reference to x.