blob: 2375e3e2f70aa2995c41d9c7777fb605b5a6a3ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// ignore-tidy-linelength
//@ build-pass
//@ only-x86
//@ only-windows
//@ ignore-gnu - vectorcall is not supported by GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485
#![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) {}
|