提交 ce701061 编写于 作者: K kennytm 提交者: GitHub

Rollup merge of #47230 - nerd2:debuginfo_shadow, r=alexcrichton

Debuginfo Shadowed Variable test: fix check numbering

Appears to be a simple fix to restore this test. Ref issue #47163, CC @arielb1
......@@ -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 ===================================================================================
......@@ -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 ==================================================================================
......@@ -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)]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册