summary refs log tree commit diff
path: root/src/test/compile-fail/if-loop.rs
AgeCommit message (Collapse)AuthorLines
2015-02-19Fix an ICE when translating `if loop {} {}`Björn Steinbrink-0/+20
In `if loop {} {}`, the `if` is actually unreachable, but we didn't handle that correctly and when trying to translate the `if` we tried to branch on the "return value" of the loop expression, which is not an `i1` and therefore triggered an LLVM assertion.