diff options
Diffstat (limited to 'tests/programs/rawpid.zc')
| -rw-r--r-- | tests/programs/rawpid.zc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/programs/rawpid.zc b/tests/programs/rawpid.zc index b3e7c2a..e9fec7d 100644 --- a/tests/programs/rawpid.zc +++ b/tests/programs/rawpid.zc @@ -1,6 +1,9 @@ -include "src/lib/std.zc"; +namespace; +include rt, std; + +include std; // syscall 39 is getpid on x86-64 only; the arm64 number differs, so test.sh runs this there alone. fn main() { - put_n(Host.raw(39, 0, 0, 0, 0, 0, 0) > 0); put_c(10); + rt.put_n(std.Host.raw(39, 0, 0, 0, 0, 0, 0) > 0); rt.put_c(10); return 0; } |
