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

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

15 lines
262 B
Rust
Raw Normal View History

// 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() {}