debuginfo: Fix ICE when compiling for-loops with lines-tables-only.

This commit is contained in:
Michael Woerister 2015-01-15 15:22:56 +01:00
parent 1c78ad937b
commit 45c6423cbc
5 changed files with 28 additions and 32 deletions

View file

@ -48,7 +48,11 @@ fn zzz() {()}
fn some_function(a: int, b: int) {
let some_variable = Struct { a: 11, b: 22 };
let some_other_variable = 23i;
zzz(); // #break
for x in range(0, 1) {
zzz(); // #break
}
}
fn some_other_function(a: int, b: int) -> bool { true }