summaryrefslogtreecommitdiffstats
path: root/tests/ui/instrument-xray/flags-always-never-2.rs
blob: 7310aa0a0d288a987f83dc3acc51058a88163eb4 (plain)
1
2
3
4
5
6
7
8
9
// 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() {}