aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-05-08 16:06:34 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-05-08 16:06:34 -0400
commit50bbb34594eedf7a978c00edb525bcea472b554b (patch)
tree4936a28958fea277de9702b582bd13bc0ddeda83 /test/compile_errors.zig
parentbe7cacfbbec8aed234a0316d11a9ae0e8cda0286 (diff)
downloadzig-50bbb34594eedf7a978c00edb525bcea472b554b.tar.gz
zig-50bbb34594eedf7a978c00edb525bcea472b554b.zip
C pointers support `null`
See #1967
Diffstat (limited to 'test/compile_errors.zig')
-rw-r--r--test/compile_errors.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/compile_errors.zig b/test/compile_errors.zig
index 60d1a9ac89..a367532ef5 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -863,7 +863,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ _ = &x == null;
\\}
,
- "tmp.zig:3:12: error: only optionals (not '*i32') can compare to null",
+ "tmp.zig:3:12: error: comparison of '*i32' with null",
);
cases.add(