about summary refs log tree commit diff
path: root/src/test/run-fail/unwind-nested.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/unwind-nested.rs')
-rw-r--r--src/test/run-fail/unwind-nested.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/run-fail/unwind-nested.rs b/src/test/run-fail/unwind-nested.rs
index c52cb3a1ebf..b7a12f08c41 100644
--- a/src/test/run-fail/unwind-nested.rs
+++ b/src/test/run-fail/unwind-nested.rs
@@ -12,10 +12,12 @@
 
 #![feature(managed_boxes)]
 
+use std::gc::GC;
+
 fn main() {
-    let _a = @0;
+    let _a = box(GC) 0;
     {
-        let _b = @0;
+        let _b = box(GC) 0;
         {
             fail!();
         }