blob: 7794bdc30b3475b54b67f08a858491f358b6b888 [file] [log] [blame] [edit]
//@ add-minicore
//@ compile-flags: --target s390x-unknown-linux-gnu
//@ needs-llvm-components: systemz
//@ ignore-backends: gcc
#![feature(no_core, lang_items, rustc_attrs)]
#![crate_type = "rlib"]
#![no_core]
extern crate minicore;
use minicore::*;
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
}