rust/tests/ui/instrument-xray/flags-always-never-2.rs
2024-02-16 20:02:50 +00:00

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() {}