Add pub to all the codegen tests

Otherwise the test function is internalized and LLVM will most likely optimize
it out.
This commit is contained in:
Alex Crichton 2013-10-10 06:00:51 -07:00
parent b0f6c29b4f
commit caf7b678dd
9 changed files with 13 additions and 13 deletions

View file

@ -9,6 +9,6 @@
// except according to those terms.
#[no_mangle]
fn test() {
pub fn test() {
let _x = "hello";
}