summaryrefslogtreecommitdiffstats
path: root/tests/codegen/instrument-mcount.rs
blob: b26076e7a7bfadae4283d5357a1bb569b1803fee (plain)
1
2
3
4
5
6
7
//
// compile-flags: -Z instrument-mcount

#![crate_type = "lib"]

// CHECK: attributes #{{.*}} "frame-pointer"="all" "instrument-function-entry-inlined"="{{.*}}mcount{{.*}}"
pub fn foo() {}