mirror of
https://github.com/ziglang/zig.git
synced 2025-12-13 09:43:09 +00:00
* without this, when an included relocatable references a common symbol from another translation unit would not be correctly removed from the unresolved lookup table triggering a misleading assertion down the line * assert upon removal that we indeed removed a ref instead of silently ignoring in debug * add test case that covers this issue
6 lines
63 B
C
6 lines
63 B
C
extern int k;
|
|
|
|
int common_defined_externally() {
|
|
return k;
|
|
}
|