mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-06 01:38:35 +00:00
11 lines
112 B
Rust
11 lines
112 B
Rust
// check-pass
|
|
|
|
enum Void {}
|
|
|
|
fn main() {
|
|
let x: Void;
|
|
match x {
|
|
_ if { loop {} } => (),
|
|
}
|
|
}
|