rust/tests/mir-opt/building/issue_110508.rs
2023-07-05 04:28:45 +00:00

14 lines
244 B
Rust

// EMIT_MIR issue_110508.{impl#0}-BAR.built.after.mir
// EMIT_MIR issue_110508.{impl#0}-SELF_BAR.built.after.mir
enum Foo {
Bar(()),
}
impl Foo {
const BAR: Foo = Foo::Bar(());
const SELF_BAR: Foo = Self::Bar(());
}
fn main() {}