mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
3e32a18956
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 {}
|