aboutsummaryrefslogtreecommitdiff
path: root/tests/threads/reject/invalid.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/threads/reject/invalid.zc')
-rw-r--r--tests/threads/reject/invalid.zc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/threads/reject/invalid.zc b/tests/threads/reject/invalid.zc
new file mode 100644
index 0000000..e5d98aa
--- /dev/null
+++ b/tests/threads/reject/invalid.zc
@@ -0,0 +1,3 @@
+namespace;
+include rt;
+unchecked fn main() { int fd = 0; rt.put_n(rt.syscall(51, -1, &fd, 0)); rt.put_c(' '); rt.put_n(rt.syscall(52, 123456, 0, 0)); rt.put_c(10); return 0; }