mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Also add a standalone test which covers the `-fentry` case. It does this by performing two reproducible compilations which are identical other than having different entry points, and checking whether the emitted binaries are identical (they should *not* be). Resolves: #23869
8 lines
103 B
Zig
8 lines
103 B
Zig
pub const _start = {};
|
|
export fn foo() u32 {
|
|
return 123;
|
|
}
|
|
export fn bar() u32 {
|
|
return 456;
|
|
}
|