mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
14 lines
239 B
Rust
14 lines
239 B
Rust
// 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) {}
|