mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
de66639bbc
This reverts commit 716044751b
.
16 lines
199 B
Rust
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() {}
|