rust/tests/codegen/sanitizer/dataflow-instrument-functio...

10 lines
210 B
Rust

// Verifies that functions are instrumented.
//
//@ needs-sanitizer-dataflow
//@ compile-flags: -Copt-level=0 -Zsanitizer=dataflow
#![crate_type = "lib"]
pub fn foo() {}
// CHECK: define{{.*}}foo{{.*}}.dfsan