diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2021-07-09 20:43:19 +0800 |
|---|---|---|
| committer | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2021-08-04 09:33:12 +0200 |
| commit | 16c11988587ad78cd47ec571e1120c052abd47ed (patch) | |
| tree | 602ffc9c167b22dcab3e6523e3ffb47bc8148dee /test | |
| parent | fcdc5c6b3ccca5cc4e1c2353f280068d1c427153 (diff) | |
| download | zig-16c11988587ad78cd47ec571e1120c052abd47ed.tar.gz zig-16c11988587ad78cd47ec571e1120c052abd47ed.zip | |
stage2 Sema: Resolve LazySrcLocs for bitwise and arithmetic exprs
Diffstat (limited to 'test')
| -rw-r--r-- | test/cases.zig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/cases.zig b/test/cases.zig index 0f28c2fe63..31460a3fa7 100644 --- a/test/cases.zig +++ b/test/cases.zig @@ -1733,7 +1733,11 @@ pub fn addCases(ctx: *TestContext) !void { \\ const b = false; \\ _ = a & &b; \\} - , &[_][]const u8{":4:11: error: incompatible types: 'bool' and '*const bool'"}); + , &[_][]const u8{ + ":4:11: error: incompatible types: 'bool' and '*const bool'", + ":4:9: note: type 'bool' here", + ":4:13: note: type '*const bool' here", + }); case.addCompareOutput( \\pub fn main() void { |
