fuhsnn / slimcc

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

Duplicated tentative declaration wrongly omitted #78

Closed fuhsnn closed 1 month ago

fuhsnn commented 1 month ago
int x;
int x;
int main(void) {
    return x;
}

Fails with undefined reference to x.