Sign in
android
/
toolchain
/
rustc
/
5c0824a599f2f1f4dcb9c92edf09f6c1b555988d
/
.
/
tests
/
codegen
/
instrument-xray
/
basic.rs
blob: d3e49d53174428dad08d97fec891080c3ae409c7 [
file
] [
log
] [
blame
]
// Checks that `-Z instrument-xray` produces expected instrumentation.
//
// needs-xray
// compile-flags: -Z instrument-xray=always
#![
crate_type
=
"lib"
]
// CHECK: attributes #{{.*}} "function-instrument"="xray-always"
pub
fn
function
()
{}