mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
15 lines
262 B
Rust
15 lines
262 B
Rust
// skip-filecheck
|
|
// 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() {}
|