blob: f5361b118bed85aebab71ece419754014e8c57bd [file] [log] [blame]
// run-pass
#![feature(box_patterns)]
#![feature(box_syntax)]
pub fn main() {
match box 100 {
box x => {
println!("{}", x);
assert_eq!(x, 100);
}
}
}