2023-10-16 12:36:39 -05:00
|
|
|
// skip-filecheck
|
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() {}
|