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` ```
10 lines
220 B
Rust
10 lines
220 B
Rust
//@ compile-flags:-C debuginfo=1
|
|
|
|
//@ gdb-command:run
|
|
//@ lldb-command:run
|
|
|
|
// Nothing to do here really, just make sure it compiles. See issue #8513.
|
|
fn main() {
|
|
let _ = ||();
|
|
let _ = (1_usize..3).map(|_| 5);
|
|
}
|