mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
4dba253cd2
There is nothing inherently LLVM-specific about any of these.
10 lines
210 B
Zig
10 lines
210 B
Zig
pub fn main() void {
|
|
const large_slice = @as([*]const u8, @ptrFromInt(1))[0..(0xffffffffffffffff >> 3)];
|
|
_ = large_slice;
|
|
}
|
|
|
|
// compile
|
|
// backend=selfhosted,llvm
|
|
// target=x86_64-linux,x86_64-macos
|
|
//
|