mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
This adds a simple linker test to ensure the built library contains an import entry for each extern function call that was mangled.
7 lines
119 B
Zig
7 lines
119 B
Zig
const a = @import("a.zig").hello;
|
|
const b = @import("b.zig").hello;
|
|
export fn foo() void {
|
|
_ = a();
|
|
_ = b();
|
|
}
|