stage1: Use correct alignment for asyncCall frame

This commit is contained in:
LemonBoy
2021-04-25 19:42:59 +02:00
parent 0340ed3a9e
commit 82f1d592fa
4 changed files with 11 additions and 4 deletions

View File

@@ -2136,7 +2136,9 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\}
\\fn func() callconv(.Async) void {}
, &[_][]const u8{
"tmp.zig:4:21: error: expected type '[]align(16) u8', found '*[64]u8'",
// Split the check in two as the alignment value is target dependent.
"tmp.zig:4:21: error: expected type '[]align(",
") u8', found '*[64]u8'",
});
cases.add("atomic orderings of fence Acquire or stricter",