//@ known-bug: rust-lang/rust#130310 use std::marker::PhantomData; #[repr(C)] struct A { a: *const A>, p: PhantomData, } extern "C" { fn f(a: *const A<()>); } fn main() {}