]>
Commit | Line | Data |
---|---|---|
04454e1e | 1 | // build-pass |
353b0b11 FG |
2 | // only-x86 |
3 | // only-windows | |
4 | // ignore-gnu - vectorcall is not supported by GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89485 | |
04454e1e FG |
5 | #![crate_type = "cdylib"] |
6 | #![feature(abi_vectorcall)] | |
7 | ||
8 | #[no_mangle] | |
9 | extern "stdcall" fn foo(_: bool) {} | |
10 | ||
11 | #[no_mangle] | |
12 | extern "fastcall" fn bar(_: u8) {} | |
13 | ||
14 | #[no_mangle] | |
15 | extern "vectorcall" fn baz(_: u16) {} |