summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue_4528.rs
blob: 85f6d8c0387c72d3d5f6ef4bb7601eb22472e6f6 (plain)
1
2
3
4
5
6
7
8
#![allow(clippy::no_effect)]
 
extern "C" {
 // N.B., mutability can be easily incorrect in FFI calls -- as
     // in C, the default is mutable pointers.
    fn ffi(c: *mut u8);
     fn int_ffi(c: *mut i32);
}