mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
10 lines
259 B
Rust
10 lines
259 B
Rust
// Checks that `-Z instrument-xray` produces expected instrumentation.
|
|
//
|
|
//@ needs-xray
|
|
//@ compile-flags: -Z instrument-xray=always -Copt-level=0
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
// CHECK: attributes #{{.*}} "function-instrument"="xray-always"
|
|
pub fn function() {}
|