rust/tests/crashes/121097.rs

11 lines
126 B
Rust
Raw Normal View History

//@ known-bug: #121097
#[repr(simd)]
enum Aligned {
Zero = 0,
One = 1,
}
fn tou8(al: Aligned) -> u8 {
al as u8
}