rust/tests/mir-opt/building/issue_110508.rs

14 lines
244 B
Rust
Raw Normal View History

2023-07-04 23:28:45 -05:00
// EMIT_MIR issue_110508.{impl#0}-BAR.built.after.mir
// EMIT_MIR issue_110508.{impl#0}-SELF_BAR.built.after.mir
2023-07-04 21:19:44 -05:00
enum Foo {
Bar(()),
}
impl Foo {
2023-07-04 23:28:45 -05:00
const BAR: Foo = Foo::Bar(());
const SELF_BAR: Foo = Self::Bar(());
2023-07-04 21:19:44 -05:00
}
fn main() {}