So that when we later add support for revisions we can use the same syntax for revisions as elsewhere. This also prevents people from making typos for commands since `src/tools/compiletest/src/directives/directive_names.rs` will catch such typos now. Note that we one FIXME for a non-trivial change for later: ``` // FIXME(148097): Change `// cdb-checksimple_closure` to `//@ cdb-check:simple_closure` ```
23 lines
490 B
Rust
23 lines
490 B
Rust
// GDB got support for DW_ATE_UTF in 11.2, see
|
|
// https://sourceware.org/bugzilla/show_bug.cgi?id=28637.
|
|
|
|
//@ min-gdb-version: 11.2
|
|
//@ compile-flags: -g
|
|
//@ disable-gdb-pretty-printers
|
|
//@ ignore-backends: gcc
|
|
|
|
// === GDB TESTS ===================================================================================
|
|
|
|
//@ gdb-command:run
|
|
//@ gdb-command:print ch
|
|
//@ gdb-check:$1 = 97 'a'
|
|
|
|
#![allow(unused_variables)]
|
|
|
|
fn main() {
|
|
let ch: char = 'a';
|
|
|
|
zzz(); // #break
|
|
}
|
|
|
|
fn zzz() {()}
|