mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
13 lines
207 B
Zig
13 lines
207 B
Zig
fn entry(a: *addrspace(.gs) i32) *addrspace(.gs) i32 {
|
|
return a;
|
|
}
|
|
pub fn main() void {
|
|
_ = &entry;
|
|
}
|
|
|
|
// compile
|
|
// output_mode=Exe
|
|
// backend=selfhosted,llvm
|
|
// target=x86_64-linux,x86_64-macos
|
|
//
|