diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2017-01-06 02:04:27 -0500 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2017-01-06 02:04:27 -0500 |
| commit | cf62f02ba99e45061f073f764d7d5a137ac35a67 (patch) | |
| tree | f90469379e47041bdcafa659393a11ea27c7529b /test/run_tests.cpp | |
| parent | 23feafdef0ff45e67ac63c7e220830c93b095e18 (diff) | |
| download | zig-cf62f02ba99e45061f073f764d7d5a137ac35a67.tar.gz zig-cf62f02ba99e45061f073f764d7d5a137ac35a67.zip | |
don't mark call instruction as generated
pass cast unreachable test
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 97f0c2a788..4bc3c0be83 100644 --- a/test/run_tests.cpp +++ b/test/run_tests.cpp @@ -969,7 +969,7 @@ fn f() { fn f() -> i32 { i32(return 1) } - )SOURCE", 1, ".tmp_source.zig:3:8: error: invalid cast from type 'unreachable' to 'i32'"); + )SOURCE", 1, ".tmp_source.zig:3:8: error: unreachable code"); add_compile_fail_case("invalid builtin fn", R"SOURCE( fn f() -> @bogus(foo) { |
