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.rs2
1 files changed, 1 insertions, 1 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 aa5c4cbbc1d..69585c9d31c 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
@@ -13,7 +13,7 @@
 
 fn main() {
 
-    const FOO: int = 2;
+    static FOO: int = 2;
     let _v: [int * FOO*3];
 
 }