2021-08-03 17:43:21 -04:00
|
|
|
//@ check-pass
|
2021-09-06 16:44:19 +01:00
|
|
|
//@ needs-asm-support
|
2021-08-03 17:43:21 -04:00
|
|
|
#![crate_type = "lib"]
|
|
|
|
|
2024-08-04 16:45:48 +02:00
|
|
|
use std::arch::naked_asm;
|
2021-12-10 00:15:33 +00:00
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
#[unsafe(naked)]
|
2021-08-03 17:43:21 -04:00
|
|
|
pub extern "C" fn naked(p: char) -> u128 {
|
|
|
|
//~^ WARN uses type `char`
|
|
|
|
//~| WARN uses type `u128`
|
2025-03-29 17:30:11 +01:00
|
|
|
naked_asm!("")
|
2021-08-03 17:43:21 -04:00
|
|
|
}
|