summaryrefslogtreecommitdiffstats
path: root/tests/codegen/instrument-mcount.rs
blob: 50823775a41a06a2ff54de567d733a32de9c8262 (plain)
1
2
3
4
5
6
7
//
// compile-flags: -Z instrument-mcount -Copt-level=0

#![crate_type = "lib"]

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