1 // This is a regression test for issue https://github.com/rust-lang/rust/issues/106629.
2 // It ensures that transparent types where all fields are PhantomData are marked as
9 struct MyPhantom(core::marker::PhantomData<u8>);
12 #[derive(Copy, Clone)]
19 pub fn foo(bar: *mut Bar);