summaryrefslogtreecommitdiffstats
path: root/src/test/ui/symbol-names/x86-stdcall.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/symbol-names/x86-stdcall.rs')
-rw-r--r--src/test/ui/symbol-names/x86-stdcall.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/ui/symbol-names/x86-stdcall.rs b/src/test/ui/symbol-names/x86-stdcall.rs
new file mode 100644
index 000000000..9948488c0
--- /dev/null
+++ b/src/test/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) {}