tests: activate misspelled gdb-check in function-arg-initialization.rs
In 9253e1206e 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.
This commit is contained in:
parent
4f08307f6e
commit
192f862c93
1 changed files with 5 additions and 2 deletions
|
|
@ -26,9 +26,9 @@
|
|||
|
||||
// NON IMMEDIATE ARGS
|
||||
// gdb-command:print a
|
||||
// gdbt-check:$4 = function_arg_initialization::BigStruct {a: 3, b: 4, c: 5, d: 6, e: 7, f: 8, g: 9, h: 10}
|
||||
// gdb-check:$4 = function_arg_initialization::BigStruct {a: 3, b: 4, c: 5, d: 6, e: 7, f: 8, g: 9, h: 10}
|
||||
// gdb-command:print b
|
||||
// gdbt-check:$5 = function_arg_initialization::BigStruct {a: 11, b: 12, c: 13, d: 14, e: 15, f: 16, g: 17, h: 18}
|
||||
// gdb-check:$5 = function_arg_initialization::BigStruct {a: 11, b: 12, c: 13, d: 14, e: 15, f: 16, g: 17, h: 18}
|
||||
// gdb-command:continue
|
||||
|
||||
// BINDING
|
||||
|
|
@ -234,6 +234,9 @@ struct BigStruct {
|
|||
|
||||
fn non_immediate_args(a: BigStruct, b: BigStruct) {
|
||||
zzz(); // #break
|
||||
|
||||
// FIXME(#128973): Needed to avoid `<optimized out>` prints before #128973 has been fixed.
|
||||
std::hint::black_box(|| { let _ = (a, b);});
|
||||
}
|
||||
|
||||
fn binding(a: i64, b: u64, c: f64) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue