]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binding/match-unique-bind.rs
Sync rust-lang/portable-simd@03f6fbb21e6050da2a05b3ce8f480c020b384916
[rust.git] / src / test / ui / binding / match-unique-bind.rs
1 // run-pass
2 #![feature(box_patterns)]
3
4 pub fn main() {
5     match Box::new(100) {
6       box x => {
7         println!("{}", x);
8         assert_eq!(x, 100);
9       }
10     }
11 }