This website requires JavaScript.
Explore
Help
Sign In
jimzah
/
zig
Watch
1
Star
0
Fork
0
You've already forked zig
mirror of
https://github.com/ziglang/zig.git
synced
2024-11-28 16:12:33 +00:00
Code
Issues
Actions
1
Packages
Projects
Releases
Wiki
Activity
9b595dd55f
zig
/
test
/
link
/
common_symbols
/
b.c
8 lines
52 B
C
Raw
Normal View
History
Unescape
Escape
Add standalone test for common symbols
2021-06-10 18:51:41 +01:00
long
i
;
int
j
=
2
;
macho: remove unresolved ref in the correct place * 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
2021-10-24 15:57:00 +01:00
int
k
;
Add standalone test for common symbols
2021-06-10 18:51:41 +01:00
void
incr_i
(
)
{
i
+
+
;
}
Reference in New Issue
Copy Permalink