mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
13 lines
131 B
Rust
13 lines
131 B
Rust
//@ build-pass
|
|
#![allow(dead_code)]
|
|
#[repr(u64)]
|
|
enum A {
|
|
A = 0u64,
|
|
B = !0u64,
|
|
}
|
|
|
|
fn cmp() -> A {
|
|
A::B
|
|
}
|
|
|
|
fn main() {}
|