c0140f5c34
Closes #3096
7 lines
123 B
Rust
7 lines
123 B
Rust
enum bottom { }
|
|
|
|
fn main() {
|
|
let x = ptr::addr_of(()) as *bottom;
|
|
match x { } //~ ERROR non-exhaustive patterns
|
|
}
|