mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-12 22:19:24 +00:00
10 lines
210 B
Rust
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
|