diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/runtime/native-print-no-runtime.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/ui/runtime/native-print-no-runtime.rs b/src/test/ui/runtime/native-print-no-runtime.rs new file mode 100644 index 000000000..f17c9fa6c --- /dev/null +++ b/src/test/ui/runtime/native-print-no-runtime.rs @@ -0,0 +1,9 @@ +// run-pass + +#![feature(start)] + +#[start] +pub fn main(_: isize, _: *const *const u8) -> isize { + println!("hello"); + 0 +} |