mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
47ff773632
While `false` is accepted by `--cfg` it isn't by `#[cfg(false)]` since in that context `false` is the boolean not a ident.
10 lines
318 B
Rust
10 lines
318 B
Rust
//@ check-pass
|
|
//@ revisions: n no off _false zero
|
|
//@ [n] compile-flags: -Cinstrument-coverage=n
|
|
//@ [no] compile-flags: -Cinstrument-coverage=no
|
|
//@ [off] compile-flags: -Cinstrument-coverage=off
|
|
//@ [_false] compile-flags: -Cinstrument-coverage=false
|
|
//@ [zero] compile-flags: -Cinstrument-coverage=0
|
|
|
|
fn main() {}
|