aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2021-07-09 20:43:19 +0800
committerjoachimschmidt557 <joachim.schmidt557@outlook.com>2021-08-04 09:33:12 +0200
commit16c11988587ad78cd47ec571e1120c052abd47ed (patch)
tree602ffc9c167b22dcab3e6523e3ffb47bc8148dee /test
parentfcdc5c6b3ccca5cc4e1c2353f280068d1c427153 (diff)
downloadzig-16c11988587ad78cd47ec571e1120c052abd47ed.tar.gz
zig-16c11988587ad78cd47ec571e1120c052abd47ed.zip
stage2 Sema: Resolve LazySrcLocs for bitwise and arithmetic exprs
Diffstat (limited to 'test')
-rw-r--r--test/cases.zig6
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 {