]> git.lizzy.rs Git - rust.git/commitdiff
Uncomment now-working vec! macro test.
authorScott Olson <scott@solson.me>
Mon, 21 Mar 2016 08:41:22 +0000 (02:41 -0600)
committerScott Olson <scott@solson.me>
Mon, 21 Mar 2016 08:41:22 +0000 (02:41 -0600)
test/vecs.rs

index 2fb113b3da208af1e6fb4bf57e01eb142746fd51..4b35263435fa5ac46c688bb81918d96cdb1027db 100755 (executable)
@@ -9,7 +9,7 @@ fn make_vec() -> Vec<i32> {
     v
 }
 
-// #[miri_run]
-// fn make_vec_macro() -> Vec<i32> {
-//     vec![1, 2]
-// }
+#[miri_run]
+fn make_vec_macro() -> Vec<i32> {
+    vec![1, 2]
+}