rust/tests/crashes/121161.rs

13 lines
161 B
Rust
Raw Normal View History

//@ known-bug: #121161
#![allow(incomplete_features)]
#![feature(unnamed_fields)]
#[derive(Eq)]
#[repr(C)]
struct Bar {
_: union {
a: u8,
},
}