about summary refs log tree commit diff
path: root/src/test/run-pass/func-arg-ref-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/func-arg-ref-pattern.rs')
-rw-r--r--src/test/run-pass/func-arg-ref-pattern.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run-pass/func-arg-ref-pattern.rs b/src/test/run-pass/func-arg-ref-pattern.rs
index 5eeace65054..9e94bca96f7 100644
--- a/src/test/run-pass/func-arg-ref-pattern.rs
+++ b/src/test/run-pass/func-arg-ref-pattern.rs
@@ -14,6 +14,8 @@
 // boxes. Make sure that we don't free the box as we match the
 // pattern.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 fn getaddr(box ref x: Box<uint>) -> *const uint {
     let addr: *const uint = &*x;