diff options
Diffstat (limited to 'src/test/run-pass/func-arg-ref-pattern.rs')
| -rw-r--r-- | src/test/run-pass/func-arg-ref-pattern.rs | 1 |
1 files changed, 1 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..97b13694872 100644 --- a/src/test/run-pass/func-arg-ref-pattern.rs +++ b/src/test/run-pass/func-arg-ref-pattern.rs @@ -14,6 +14,7 @@ // boxes. Make sure that we don't free the box as we match the // pattern. +#![feature(box_syntax)] fn getaddr(box ref x: Box<uint>) -> *const uint { let addr: *const uint = &*x; |
