Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
139 B
Rust
Raw Permalink Normal View History

2022-06-24 16:43:38 +02:00
//@ build-pass
2022-06-23 17:34:34 +02:00
pub enum Register<const N: u16> {
Field0 = 40,
Field1,
}
fn main() {
let _b = Register::<0>::Field1 as u16;
}