]> git.proxmox.com Git - rustc.git/blobdiff - src/test/codegen/unwind-extern-exports.rs
New upstream version 1.51.0+dfsg1
[rustc.git] / src / test / codegen / unwind-extern-exports.rs
index e5a2936b92497aa6cf26a8f126079f12c40e766f..487de20671a2c0bffda69955eab1be4ac79926b6 100644 (file)
@@ -11,7 +11,7 @@
 // "C" ABI
 // pub extern fn foo() {} // FIXME right now we don't abort-on-panic but add `nounwind` nevertheless
 #[unwind(allowed)]
-pub extern fn foo_allowed() {}
+pub extern "C" fn foo_allowed() {}
 
 // "Rust"
 // (`extern "Rust"` could be removed as all `fn` get it implicitly; we leave it in for clarity.)