summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue_4528.rs
blob: 7828804b098eadbe45c5699e74131b9d8269cb20 (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);
}