mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
10 lines
290 B
Rust
10 lines
290 B
Rust
// Checks that `-Z instrument-xray` allows `always` and `never` sequentially.
|
|
// (The last specified setting wins, like `-Z instrument-xray=no` as well.)
|
|
//
|
|
//@ needs-xray
|
|
//@ compile-flags: -Z instrument-xray=always
|
|
//@ compile-flags: -Z instrument-xray=never
|
|
//@ check-pass
|
|
|
|
fn main() {}
|