// option. This file may not be copied, modified, or distributed
// except according to those terms.
-#![feature(managed_boxes)]
-
-use std::gc::GC;
+#![allow(unknown_features)]
+#![feature(box_syntax)]
struct X { x: int, y: int, z: int }
-pub fn main() { let x = box(GC) X {x: 1, y: 2, z: 3}; let y = x; assert!((y.y == 2)); }
+pub fn main() { let x = box X {x: 1, y: 2, z: 3}; let y = x; assert!((y.y == 2)); }