Skip to content

Commit b8c1b25

Browse files
committed
tests: activate misspelled gdb-check in function-arg-initialization.rs
In 9253e12 a bunch of `gdbr-check` (for `rust-gdb`) and `gdbg-check` (for plain `gdb`) was added. But in two places the author accidentally wrote `gdbt-check` instead. This commit fixes this typo.
1 parent 4f08307 commit b8c1b25

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/debuginfo/function-arg-initialization.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@
66
// function name.
77

88
//@ min-lldb-version: 1800
9-
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts
9+
//@ compile-flags:-g -Zmir-enable-passes=-SingleUseConsts -Copt-level=0
1010
// SingleUseConsts shouldn't need to be disabled, see #128945
11+
// Disable optimizations to avoid `<optimized out>` prints
1112
//@ disable-gdb-pretty-printers
1213
//@ ignore-backends: gcc
1314

@@ -26,9 +27,9 @@
2627

2728
// NON IMMEDIATE ARGS
2829
// gdb-command:print a
29-
// gdbt-check:$4 = function_arg_initialization::BigStruct {a: 3, b: 4, c: 5, d: 6, e: 7, f: 8, g: 9, h: 10}
30+
// gdb-check:$4 = function_arg_initialization::BigStruct {a: 3, b: 4, c: 5, d: 6, e: 7, f: 8, g: 9, h: 10}
3031
// gdb-command:print b
31-
// gdbt-check:$5 = function_arg_initialization::BigStruct {a: 11, b: 12, c: 13, d: 14, e: 15, f: 16, g: 17, h: 18}
32+
// gdb-check:$5 = function_arg_initialization::BigStruct {a: 11, b: 12, c: 13, d: 14, e: 15, f: 16, g: 17, h: 18}
3233
// gdb-command:continue
3334

3435
// BINDING

0 commit comments

Comments
 (0)