about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
-rw-r--r--src/test/codegen/stack-alloc-string-slice.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/stack-alloc-string-slice.rs b/src/test/codegen/stack-alloc-string-slice.rs
index b776f5a46a7..188ee246bf3 100644
--- a/src/test/codegen/stack-alloc-string-slice.rs
+++ b/src/test/codegen/stack-alloc-string-slice.rs
@@ -9,6 +9,6 @@
 // except according to those terms.
 
 #[no_mangle]
-fn test() {
+pub fn test() {
     let _x = "hello";
 }