mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
16 lines
136 B
Rust
16 lines
136 B
Rust
// check-pass
|
|
|
|
enum _Enum {
|
|
A(),
|
|
}
|
|
|
|
type _E = _Enum;
|
|
|
|
const fn _a() -> _Enum {
|
|
_E::A()
|
|
}
|
|
|
|
const _A: _Enum = _a();
|
|
|
|
fn main() {}
|