This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
7 lines
191 B
Rust
7 lines
191 B
Rust
//
|
|
// compile-flags: -Z instrument-mcount
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
// CHECK: attributes #{{.*}} "frame-pointer"="all" "instrument-function-entry-inlined"="{{.*}}mcount{{.*}}"
|
|
pub fn foo() {}
|