blob: 1925508f2e8afb6dd084cad883baa0d7dcf7ef08 [file] [log] [blame] [edit]
//@ add-minicore
//@ compile-flags: --crate-type=rlib --target=i586-unknown-linux-gnu -C target-feature=-sse,-sse2
//@ build-fail
//@ ignore-pass (test emits codegen-time errors)
//@ needs-llvm-components: x86
//@ ignore-backends: gcc
#![feature(no_core, abi_vectorcall)]
#![no_core]
extern crate minicore;
use minicore::*;
#[no_mangle]
pub extern "vectorcall" fn f() {
//~^ ERROR ABI "vectorcall" which requires the `sse2` target feature
}
#[no_mangle]
pub fn call_site() {
f();
//~^ ERROR ABI "vectorcall" which requires the `sse2` target feature
}