Fixed @asyncCall in runtime safety test

This commit is contained in:
Alexandros Naskos 2020-06-24 18:43:11 +03:00
parent eefcd04462
commit 7f342451b6

View File

@ -280,7 +280,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
\\pub fn main() void {
\\ var bytes: [1]u8 align(16) = undefined;
\\ var ptr = other;
\\ var frame = @asyncCall(&bytes, {}, ptr);
\\ var frame = @asyncCall(&bytes, {}, ptr, .{});
\\}
\\fn other() callconv(.Async) void {
\\ suspend;