mirror of
https://github.com/ziglang/zig.git
synced 2026-02-05 06:03:38 +00:00
The self-hosted aarch64 backend is not currently functional due to the Liveness changes. A previous commit disabled aarch64 on the behavior tests; this commit disables it and arm for the test cases. Moreover, all incremental test cases have been unified into shared cross-platform cases, which can be gradually enabled as the backends improve.
21 lines
569 B
Zig
21 lines
569 B
Zig
const builtin = @import("builtin");
|
|
|
|
extern "c" fn write(c_int, usize, usize) usize;
|
|
|
|
pub fn main() void {
|
|
print();
|
|
print();
|
|
}
|
|
|
|
fn print() void {
|
|
const msg = @ptrToInt("What is up? This is a longer message that will force the data to be relocated in virtual address space.\n");
|
|
const len = 104;
|
|
_ = write(1, msg, len);
|
|
}
|
|
|
|
// run
|
|
//
|
|
// What is up? This is a longer message that will force the data to be relocated in virtual address space.
|
|
// What is up? This is a longer message that will force the data to be relocated in virtual address space.
|
|
//
|