commit | 30862a64c29985b044d9bf6f74fcf1394bc145c7 | [log] [tgz] |
---|---|---|
author | Alex Crichton <[email protected]> | Wed Sep 25 07:43:37 2013 |
committer | Alex Crichton <[email protected]> | Wed Sep 25 07:43:37 2013 |
tree | 712da0df6bd5e3661431ec069fa814d048dc703a | |
parent | 10a583ce1ac28a8cbf34b0f4274285f33bdfce29 [diff] [blame] |
Fix run-pass tests to have 'pub fn main' This is required by the check-fast target because each test is slurped up into a submodule.
diff --git a/src/test/run-pass/pub-extern-privacy.rs b/src/test/run-pass/pub-extern-privacy.rs index 360ac75..e4e260a 100644 --- a/src/test/run-pass/pub-extern-privacy.rs +++ b/src/test/run-pass/pub-extern-privacy.rs
@@ -7,7 +7,7 @@ } #[fixed_stack_segment] #[inline(never)] -fn main() { +pub fn main() { unsafe { a::free(transmute(0)); }