about summary refs log tree commit diff
path: root/src/test/ui/expr-block-unique.rs
blob: 5fa11ad1283b9d7fcb1060e19c3f743c04590249 (plain)
1
2
3
4
// run-pass
#![allow(unused_braces)]

pub fn main() { let x: Box<_> = { Box::new(100) }; assert_eq!(*x, 100); }