2 // pretty-expanded FIXME #23616
4 /* Any copyright is dedicated to the Public Domain.
5 * http://creativecommons.org/publicdomain/zero/1.0/ */
7 #![allow(dead_code, unused_variables)]
8 #![feature(box_syntax)]
10 // Tests that the new `box` syntax works with unique pointers.
20 let y: Box<isize> = box 2;
21 let b: Box<isize> = box (1 + 2);
24 let s: Box<Structure> = box Structure {