aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJosh Wolfe <thejoshwolfe@gmail.com>2017-04-23 08:34:18 -0700
committerJosh Wolfe <thejoshwolfe@gmail.com>2017-04-23 08:36:21 -0700
commit14dfbd6ad39dadbd8505957b031f67bcd1a7b8a4 (patch)
tree5aa31909123e29936445082720c9521b6a1c8443 /test
parent8299fe19c056e9bae6f87a8281741d1e90019993 (diff)
downloadzig-14dfbd6ad39dadbd8505957b031f67bcd1a7b8a4.tar.gz
zig-14dfbd6ad39dadbd8505957b031f67bcd1a7b8a4.zip
remove redundant unreachable code error
Diffstat (limited to 'test')
-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 568974fec5..5ef852ee72 100644
--- a/test/compile_errors.zig
+++ b/test/compile_errors.zig
@@ -254,7 +254,7 @@ pub fn addCases(cases: &tests.CompileErrorContext) {
\\}
\\
\\fn b() {}
- , ".tmp_source.zig:3:6: error: unreachable code");
+ , ".tmp_source.zig:3:5: error: unreachable code");
cases.add("bad import",
\\const bogus = @import("bogus-does-not-exist.zig");