Skip to content

Commit

Permalink
Add regression test for #56098
Browse files Browse the repository at this point in the history
  • Loading branch information
apekros committed Sep 27, 2023
1 parent 376f3f0 commit ac9707d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/ui/foreign/foreign-fn-linkname.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// ignore-wasm32-bare no libc to test ffi with
// ignore-sgx no libc

// Ensure no false positive on "unused extern crate" lint
#![deny(unused_extern_crates)]

#![feature(rustc_private)]

extern crate libc;
Expand Down

0 comments on commit ac9707d

Please sign in to comment.