2022-04-26 12:01:10 -05:00
|
|
|
// build-pass
|
2023-03-08 03:25:46 -06:00
|
|
|
// only-x86
|
|
|
|
// only-windows
|
2023-03-30 05:38:41 -05:00
|
|
|
// ignore-gnu - vectorcall is not supported by GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485
|
2022-04-26 12:01:10 -05:00
|
|
|
#![crate_type = "cdylib"]
|
|
|
|
#![feature(abi_vectorcall)]
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "stdcall" fn foo(_: bool) {}
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "fastcall" fn bar(_: u8) {}
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "vectorcall" fn baz(_: u16) {}
|