982b49494e
This is to make the diff when stabilizing it easier to review.
10 lines
121 B
Rust
10 lines
121 B
Rust
// check-pass
|
|
union X { a: i8 }
|
|
|
|
fn main() {
|
|
let x = X { a: 5 };
|
|
match x {
|
|
X { a: _ | _ } => {},
|
|
}
|
|
}
|