That is confusing, e.g ``` extern(C) int r;
int main() { return r; } ``` works. But what is likely more intended here is ``` extern int r; int main() { return r; } ``` which leads, this time, to the expected linker error.
That is confusing, e.g ``` extern(C) int r;
int main() { return r; } ``` works. But what is likely more intended here is ``` extern int r; int main() { return r; } ``` which leads, this time, to the expected linker error.