mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
12 lines
228 B
Rust
12 lines
228 B
Rust
//@ build-pass (FIXME(62277): could be check-pass?)
|
|
|
|
union Uninit {
|
|
_never_use: *const u8,
|
|
uninit: (),
|
|
}
|
|
|
|
const UNINIT: Uninit = Uninit { uninit: () };
|
|
const UNINIT2: (Uninit,) = (Uninit { uninit: () }, );
|
|
|
|
fn main() {}
|