diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-04-25 19:12:06 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-25 19:12:06 -0400 |
| commit | 2fc6b347ec66650cd1702c63104fc45148658b15 (patch) | |
| tree | fe102bc1693efb2d3254192ca4f0f10313ed6fd5 /test/compile_errors.zig | |
| parent | 6f61594692af846226880e5903ad26a922014d55 (diff) | |
| parent | 82f1d592fae021fcfc737e3cb6c107b325fcf1ee (diff) | |
| download | zig-2fc6b347ec66650cd1702c63104fc45148658b15.tar.gz zig-2fc6b347ec66650cd1702c63104fc45148658b15.zip | |
Merge pull request #8616 from LemonBoy/fn-align
Function pointer alignment
Diffstat (limited to 'test/compile_errors.zig')
| -rw-r--r-- | test/compile_errors.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig index bfa9b592b4..5b36027248 100644 --- a/test/compile_errors.zig +++ b/test/compile_errors.zig @@ -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", |
