rust/src/test/ui/expr-block-unique.rs
2019-07-27 18:56:16 +03:00

6 lines
106 B
Rust

// run-pass
#![feature(box_syntax)]
pub fn main() { let x: Box<_> = { box 100 }; assert_eq!(*x, 100); }