diff options
| author | Michael Woerister <michaelwoerister@posteo> | 2015-01-15 15:22:56 +0100 |
|---|---|---|
| committer | Michael Woerister <michaelwoerister@posteo> | 2015-01-15 15:22:56 +0100 |
| commit | 45c6423cbc1fe5ae5be33e6afe4f313d6951e01b (patch) | |
| tree | d4ca679323ea0692466ed8d612ffaab486d48a24 /src/test/debuginfo | |
| parent | 1c78ad937b4da9dd872b0a865025f3e2e885f90d (diff) | |
| download | rust-45c6423cbc1fe5ae5be33e6afe4f313d6951e01b.tar.gz rust-45c6423cbc1fe5ae5be33e6afe4f313d6951e01b.zip | |
debuginfo: Fix ICE when compiling for-loops with lines-tables-only.
Diffstat (limited to 'src/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/limited-debuginfo.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/test/debuginfo/limited-debuginfo.rs b/src/test/debuginfo/limited-debuginfo.rs index 35889ff8133..00de4497ced 100644 --- a/src/test/debuginfo/limited-debuginfo.rs +++ b/src/test/debuginfo/limited-debuginfo.rs @@ -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 } + |
