mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
12 lines
393 B
Rust
12 lines
393 B
Rust
//@ revisions: Always NonLeaf
|
|
//@ [Always] compile-flags: -Cforce-frame-pointers=yes
|
|
//@ [NonLeaf] compile-flags: -Cforce-frame-pointers=non-leaf
|
|
//@ compile-flags: -Zunstable-options
|
|
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
|
|
|
|
#![crate_type = "lib"]
|
|
|
|
// Always: attributes #{{.*}} "frame-pointer"="all"
|
|
// NonLeaf: attributes #{{.*}} "frame-pointer"="non-leaf"
|
|
pub fn foo() {}
|