mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
11 lines
126 B
Rust
11 lines
126 B
Rust
|
//@ known-bug: #121097
|
||
|
#[repr(simd)]
|
||
|
enum Aligned {
|
||
|
Zero = 0,
|
||
|
One = 1,
|
||
|
}
|
||
|
|
||
|
fn tou8(al: Aligned) -> u8 {
|
||
|
al as u8
|
||
|
}
|