diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-21 03:02:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-21 03:02:25 -0700 |
| commit | 32e2196257b2650e41b683d16bf00ba77ccfbb13 (patch) | |
| tree | 1eb681e2443aa31c4d5fea8ab798f12faaf7b3d2 /test/run_tests.cpp | |
| parent | 5e212db29cf9e2c06aba363736ffb965e631aa2d (diff) | |
| download | zig-32e2196257b2650e41b683d16bf00ba77ccfbb13.tar.gz zig-32e2196257b2650e41b683d16bf00ba77ccfbb13.zip | |
number literal rework
Diffstat (limited to 'test/run_tests.cpp')
| -rw-r--r-- | test/run_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_tests.cpp b/test/run_tests.cpp index 339c9ed1d1..1e7da90682 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -1323,7 +1323,7 @@ fn f() i32 => { fn f() => { if (0) {} } - )SOURCE", 1, ".tmp_source.zig:3:9: error: expected type 'bool', got '(u8 literal)'"); + )SOURCE", 1, ".tmp_source.zig:3:9: error: value 0 cannot be represented in type 'bool'"); add_compile_fail_case("assign unreachable", R"SOURCE( fn f() => { |
