rust/tests/crashes/130310.rs
2024-09-23 12:43:44 -04:00

16 lines
199 B
Rust

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