aboutsummaryrefslogtreecommitdiff
path: root/test/compile_errors.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-21 18:47:12 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-21 18:47:12 -0400
commit2e2740716103784334348c491a0e4d84052c5734 (patch)
treef63b555951f38c8ff8272fcc6aac77f4fe7d4df8 /test/compile_errors.zig
parent9e5cd43e6d2caaaa2226be56c0886d73a200e78b (diff)
downloadzig-2e2740716103784334348c491a0e4d84052c5734.tar.gz
zig-2e2740716103784334348c491a0e4d84052c5734.zip
stage1: unify 2 implementations of pointer deref
I found out there were accidentally two code paths in zig ir for pointer dereference. So this should fix a few bugs. closes #1486
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 fae022f3fb..c1e25c1df9 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -2896,7 +2896,7 @@ pub fn addCases(cases: *tests.CompileErrorContext) void {
\\ _ = a.*;
\\}
,
- ".tmp_source.zig:3:9: error: use of undefined value",
+ ".tmp_source.zig:3:9: error: attempt to dereference undefined value",
);
cases.add(