blob: d512308377d7827212648309f4e869b1a0b67fb3 [file] [log] [blame] [edit]
// Regression test for the ICE described in #87496.
//@ check-pass
#[repr(transparent)]
struct TransparentCustomZst(());
extern "C" {
fn good17(p: TransparentCustomZst);
//~^ WARNING: `extern` block uses type `TransparentCustomZst`, which is not FFI-safe
}
fn main() {}