]> git.lizzy.rs Git - rust.git/blob - tests/ui/symbol-names/x86-stdcall.rs
Rollup merge of #104965 - zacklukem:p-option-as_ref-docs, r=scottmcm
[rust.git] / tests / ui / symbol-names / x86-stdcall.rs
1 // build-pass
2 // only-x86-windows
3 #![crate_type = "cdylib"]
4 #![feature(abi_vectorcall)]
5
6 #[no_mangle]
7 extern "stdcall" fn foo(_: bool) {}
8
9 #[no_mangle]
10 extern "fastcall" fn bar(_: u8) {}
11
12 #[no_mangle]
13 extern "vectorcall" fn baz(_: u16) {}