summaryrefslogtreecommitdiffstats
path: root/tests/ui/symbol-names/x86-stdcall.rs
blob: 9948488c0e95032517f67ebecc1fb0a5f8883318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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) {}