about summary refs log tree commit diff
path: root/src/test/codegen/static-method-call.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/codegen/static-method-call.rs')
-rw-r--r--src/test/codegen/static-method-call.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/static-method-call.rs b/src/test/codegen/static-method-call.rs
index a1cf6d1dda7..79fb9d8aa29 100644
--- a/src/test/codegen/static-method-call.rs
+++ b/src/test/codegen/static-method-call.rs
@@ -19,6 +19,6 @@ impl Struct {
 }
 
 #[no_mangle]
-fn test(s: &Struct) -> int {
+pub fn test(s: &Struct) -> int {
     s.method()
 }