mirror of
https://github.com/ziglang/zig.git
synced 2024-12-04 02:48:50 +00:00
Fixed @asyncCall in runtime safety test
This commit is contained in:
parent
eefcd04462
commit
7f342451b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user