2025-02-24 09:26:54 +00:00
|
|
|
//@ add-core-stubs
|
2024-11-24 21:42:22 +09:00
|
|
|
//@ needs-asm-support
|
|
|
|
|
//@ compile-flags: --target s390x-unknown-linux-gnu
|
|
|
|
|
//@ needs-llvm-components: systemz
|
|
|
|
|
|
|
|
|
|
#![feature(no_core, lang_items, rustc_attrs)]
|
|
|
|
|
#![crate_type = "rlib"]
|
|
|
|
|
#![no_core]
|
|
|
|
|
|
2025-02-24 09:26:54 +00:00
|
|
|
extern crate minicore;
|
|
|
|
|
use minicore::*;
|
2024-11-24 21:42:22 +09:00
|
|
|
|
|
|
|
|
unsafe fn main() {
|
|
|
|
|
asm!("", in("v0") 0);
|
|
|
|
|
//~^ ERROR register class `vreg` can only be used as a clobber in stable
|
|
|
|
|
//~| ERROR type `i32` cannot be used with this register class
|
|
|
|
|
}
|