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