We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40abd58 commit 7661923Copy full SHA for 7661923
tests/codegen/abi-win64-zst.rs
@@ -17,12 +17,16 @@
17
#[lang = "sized"]
18
trait Sized {}
19
20
-// Make sure the argument is always ignored when explicitly requesting "win64" ABI.
+// Make sure the argument is always ignored when explicitly requesting "win64" or "sysv64" ABI.
21
22
// CHECK: define win64cc void @pass_zst_win64()
23
#[no_mangle]
24
extern "win64" fn pass_zst_win64(_: ()) {}
25
26
+// CHECK: define x86_64_sysvcc void @pass_zst_sysv64()
27
+#[no_mangle]
28
+extern "sysv64" fn pass_zst_sysv64(_: ()) {}
29
+
30
// For `extern "C"` functions, ZST are *not* ignored on windows-gnu.
31
// That's likely an accident on their side but the ABI is what it is.
32
0 commit comments