diff options
Diffstat (limited to 'tests/ui/symbol-names/x86-stdcall.rs')
-rw-r--r-- | tests/ui/symbol-names/x86-stdcall.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/symbol-names/x86-stdcall.rs b/tests/ui/symbol-names/x86-stdcall.rs new file mode 100644 index 000000000..9948488c0 --- /dev/null +++ b/tests/ui/symbol-names/x86-stdcall.rs @@ -0,0 +1,13 @@ +// build-pass +// only-x86-windows +#![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) {} |