aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-07-13 00:28:11 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-07-13 00:28:11 -0700
commit08154c0deb653e016d6eb285c85094048eeded89 (patch)
treed90ce4372ed47afe3bea24245c359fad03820026 /test
parent25b1c00c72b51ef9e011867b3fc4f37b3e216223 (diff)
downloadzig-08154c0deb653e016d6eb285c85094048eeded89.tar.gz
zig-08154c0deb653e016d6eb285c85094048eeded89.zip
stage2: add retvoid support to CBE
Diffstat (limited to 'test')
-rw-r--r--test/stage2/cbe.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/stage2/cbe.zig b/test/stage2/cbe.zig
index e642489b01..e817029b83 100644
--- a/test/stage2/cbe.zig
+++ b/test/stage2/cbe.zig
@@ -62,6 +62,7 @@ pub fn addCases(ctx: *TestContext) !void {
\\ register size_t rax_constant __asm__("rax") = 231;
\\ register size_t rdi_constant __asm__("rdi") = 0;
\\ __asm volatile ("syscall" :: ""(rax_constant), ""(rdi_constant));
+ \\ return;
\\}
\\
);