Skip to content

Commit

Permalink
Rollup merge of rust-lang#47230 - nerd2:debuginfo_shadow, r=alexcrichton
Browse files Browse the repository at this point in the history
Debuginfo Shadowed Variable test: fix check numbering

Appears to be a simple fix to restore this test. Ref issue rust-lang#47163, CC @arielb1
  • Loading branch information
kennytm authored Jan 6, 2018
2 parents f612584 + 7c971b2 commit ce70106
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/test/debuginfo/shadowed-variable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
// except according to those terms.

// min-lldb-version: 310
// ignore-test // Test temporarily ignored due to debuginfo tests being disabled, see PR 47155
// compile-flags:-g

// === GDB TESTS ===================================================================================
Expand All @@ -35,15 +34,15 @@
// gdb-command:continue

// gdb-command:print x
// gdb-check:$5 = 10.5
// gdb-check:$7 = 10.5
// gdb-command:print y
// gdb-check:$6 = 20
// gdb-check:$8 = 20
// gdb-command:continue

// gdb-command:print x
// gdb-check:$5 = 11.5
// gdb-check:$9 = 11.5
// gdb-command:print y
// gdb-check:$6 = 20
// gdb-check:$10 = 20
// gdb-command:continue

// === LLDB TESTS ==================================================================================
Expand All @@ -69,15 +68,15 @@
// lldb-command:continue

// lldb-command:print x
// lldb-check:[...]$4 = 10.5
// lldb-check:[...]$6 = 10.5
// lldb-command:print y
// lldb-check:[...]$5 = 20
// lldb-check:[...]$7 = 20
// lldb-command:continue

// lldb-command:print x
// lldb-check:[...]$4 = 11.5
// lldb-check:[...]$8 = 11.5
// lldb-command:print y
// lldb-check:[...]$5 = 20
// lldb-check:[...]$9 = 20
// lldb-command:continue

#![feature(omit_gdb_pretty_printer_section)]
Expand Down

0 comments on commit ce70106

Please sign in to comment.