mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 08:53:35 +00:00
tests: Add test function that does not specify ABI
This commit is contained in:
parent
5ae0f2644d
commit
b709b87363
@ -179,3 +179,6 @@ mod issue_3739 {
|
||||
///
|
||||
/// This shouldn't warn for `boxed_local` as it is intended to called from non-Rust code.
|
||||
pub extern "C" fn do_not_warn_me(_c_pointer: Box<String>) -> () {}
|
||||
|
||||
#[rustfmt::skip] // Forces rustfmt to not add ABI
|
||||
pub extern fn do_not_warn_me_no_abi(_c_pointer: Box<String>) -> () {}
|
||||
|
Loading…
Reference in New Issue
Block a user