aboutsummaryrefslogtreecommitdiff
path: root/test/cases/while.zig
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-01-09 09:56:24 -0500
committerAndrew Kelley <superjoe30@gmail.com>2018-01-09 09:56:24 -0500
commitd1d3dbc7b5bc986849db476e491300ffd18d4db5 (patch)
tree8ab3bb2b5b8a82edf18caca6e28dc8e74ab81d11 /test/cases/while.zig
parent5a8d87f5042b5ab86de7c72df4ce84a314878e40 (diff)
parent3c094116aae459b651934663a31981cf09cdb3e4 (diff)
downloadzig-d1d3dbc7b5bc986849db476e491300ffd18d4db5.tar.gz
zig-d1d3dbc7b5bc986849db476e491300ffd18d4db5.zip
Merge branch 'master' into llvm6
Diffstat (limited to 'test/cases/while.zig')
-rw-r--r--test/cases/while.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/while.zig b/test/cases/while.zig
index e61fe1f9d2..f1e269b9fd 100644
--- a/test/cases/while.zig
+++ b/test/cases/while.zig
@@ -48,7 +48,7 @@ fn runContinueAndBreakTest() {
}
test "return with implicit cast from while loop" {
- %%returnWithImplicitCastFromWhileLoopTest();
+ returnWithImplicitCastFromWhileLoopTest() catch unreachable;
}
fn returnWithImplicitCastFromWhileLoopTest() -> %void {
while (true) {