rust/tests/ui/box/unit/unique-match-discrim.rs
2024-02-16 20:02:50 +00:00

13 lines
168 B
Rust

//@ run-pass
#![allow(dead_code)]
// Issue #961
//@ pretty-expanded FIXME #23616
fn altsimple() {
match Box::new(true) {
_ => { }
}
}
pub fn main() { }