1 // ignore-tidy-linelength
3 #![feature(abi_vectorcall)]
6 // @is "$.index[*][?(@.name=='abi_rust')].inner.header.abi" \"Rust\"
9 // @is "$.index[*][?(@.name=='abi_c')].inner.header.abi" '{"C": {"unwind": false}}'
10 pub extern "C" fn abi_c() {}
12 // @is "$.index[*][?(@.name=='abi_system')].inner.header.abi" '{"System": {"unwind": false}}'
13 pub extern "system" fn abi_system() {}
15 // @is "$.index[*][?(@.name=='abi_c_unwind')].inner.header.abi" '{"C": {"unwind": true}}'
16 pub extern "C-unwind" fn abi_c_unwind() {}
18 // @is "$.index[*][?(@.name=='abi_system_unwind')].inner.header.abi" '{"System": {"unwind": true}}'
19 pub extern "system-unwind" fn abi_system_unwind() {}
21 // @is "$.index[*][?(@.name=='abi_vectorcall')].inner.header.abi.Other" '"\"vectorcall\""'
22 pub extern "vectorcall" fn abi_vectorcall() {}
24 // @is "$.index[*][?(@.name=='abi_vectorcall_unwind')].inner.header.abi.Other" '"\"vectorcall-unwind\""'
25 pub extern "vectorcall-unwind" fn abi_vectorcall_unwind() {}