Skip to content

Commit

Permalink
Rollup merge of #116191 - apekros:issue-56098, r=petrochenkov
Browse files Browse the repository at this point in the history
Add regression test for #56098

Closes #56098
  • Loading branch information
matthiaskrgr authored Sep 28, 2023
2 parents c01d8d2 + ac9707d commit ba0d977
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 ba0d977

Please sign in to comment.