Rollup merge of #116191 - apekros:issue-56098, r=petrochenkov

Add regression test for rust-lang#56098

Closes #56098
This commit is contained in:
Matthias Krüger 2023-09-28 15:58:43 +02:00 committed by GitHub
commit ba0d97797a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,9 @@
// ignore-wasm32-bare no libc to test ffi with // ignore-wasm32-bare no libc to test ffi with
// ignore-sgx no libc // ignore-sgx no libc
// Ensure no false positive on "unused extern crate" lint
#![deny(unused_extern_crates)]
#![feature(rustc_private)] #![feature(rustc_private)]
extern crate libc; extern crate libc;