about summary refs log tree commit diff
path: root/src/test/run-pass/const-expr-in-fixed-length-vec.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/const-expr-in-fixed-length-vec.rs')
-rw-r--r--src/test/run-pass/const-expr-in-fixed-length-vec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/const-expr-in-fixed-length-vec.rs b/src/test/run-pass/const-expr-in-fixed-length-vec.rs
index 82d9bb2b1e1..6cf9239e2e4 100644
--- a/src/test/run-pass/const-expr-in-fixed-length-vec.rs
+++ b/src/test/run-pass/const-expr-in-fixed-length-vec.rs
@@ -15,7 +15,7 @@
 
 pub fn main() {
 
-    const FOO: uint = 2;
-    let _v: [int; FOO*3];
+    const FOO: usize = 2;
+    let _v: [isize; FOO*3];
 
 }