about summary refs log tree commit diff
path: root/src/test/codegen/iterate-over-array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/iterate-over-array.rs')
-rw-r--r--src/test/codegen/iterate-over-array.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/iterate-over-array.rs b/src/test/codegen/iterate-over-array.rs
index e3bd7f55216..b2cbd8821e4 100644
--- a/src/test/codegen/iterate-over-array.rs
+++ b/src/test/codegen/iterate-over-array.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 #[no_mangle]
-fn test(x: &[int]) -> int {
+pub fn test(x: &[int]) -> int {
     let mut y = 0;
     let mut i = 0;
     while (i < x.len()) {