]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/pure-sum.rs
fallout: run-pass tests that use box. (many could be ported to `Box::new` instead...
[rust.git] / src / test / run-pass / pure-sum.rs
index 3b2897cf3a6f57ddcdaf299b77680a3aea39168f..7fbdd2f219e142bac1be3f374e0eb258a073733e 100644 (file)
@@ -10,6 +10,8 @@
 
 // Check that functions can modify local state.
 
+#![allow(unknown_features)]
+#![feature(box_syntax)]
 
 fn sums_to(v: Vec<int> , sum: int) -> bool {
     let mut i = 0u;