blob: c7a70d5b2e502d93879c974227bf2a1c3ca6ff79 [file] [log] [blame]
//@ only-bpf
#![crate_type = "lib"]
#![feature(bpf_target_feature)]
#![no_std]
#[no_mangle]
#[target_feature(enable = "allows-misaligned-mem-access")]
// CHECK: define noundef zeroext i8 @foo(i8 noundef returned %arg) unnamed_addr #0 {
pub unsafe fn foo(arg: u8) -> u8 {
arg
}