mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-11 09:27:56 +00:00
11 lines
209 B
Rust
11 lines
209 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
|