rust/tests/ui/abi/sysv64-zst.rs
2024-08-02 11:45:32 +01:00

9 lines
247 B
Rust

//@ only-x86_64
//@ normalize-stderr-test: "(abi|pref|unadjusted_abi_align): Align\([1-8] bytes\)" -> "$1: $$SOME_ALIGN"
#![feature(rustc_attrs)]
#![crate_type = "lib"]
#[rustc_abi(debug)]
extern "sysv64" fn pass_zst(_: ()) {} //~ ERROR: fn_abi