about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry.rs
blob: f06739303d2e2293a24b243e0f6ab90db433ddaa (plain)
1
2
3
4
5
6
7
8
// compile-flags: -Z patchable-function-entry=15,10

#![crate_type = "lib"]

#[no_mangle]
pub fn foo() {}
// CHECK: @foo() unnamed_addr #0
// CHECK: attributes #0 = { {{.*}}"patchable-function-entry"="5"{{.*}}"patchable-function-prefix"="10" {{.*}} }