mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 22:33:08 +00:00
Adds 3 linker tests to verify the indirect function table functionality for importing, exporting and its regular definitions.
8 lines
92 B
Zig
8 lines
92 B
Zig
var func: *const fn () void = &bar;
|
|
|
|
export fn foo() void {
|
|
func();
|
|
}
|
|
|
|
fn bar() void {}
|