about summary refs log tree commit diff
path: root/src/test/run-pass/expr-block-generic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/expr-block-generic.rs')
-rw-r--r--src/test/run-pass/expr-block-generic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/expr-block-generic.rs b/src/test/run-pass/expr-block-generic.rs
index 6cfc06307c4..dca3030df14 100644
--- a/src/test/run-pass/expr-block-generic.rs
+++ b/src/test/run-pass/expr-block-generic.rs
@@ -35,4 +35,4 @@ fn test_rec() {
     test_generic::<Pair>(Pair {a: 1, b: 2}, compare_rec);
 }
 
-fn main() { test_bool(); test_rec(); }
+pub fn main() { test_bool(); test_rec(); }