diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/extern-mod-syntax.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/extern-mod-syntax.rs b/tests/ui/extern-mod-syntax.rs new file mode 100644 index 000000000..65dfa6a0f --- /dev/null +++ b/tests/ui/extern-mod-syntax.rs @@ -0,0 +1,11 @@ +// run-pass + +#![allow(unused_imports)] +#![no_std] + +extern crate std; +use std::ffi::c_void; + +pub fn main() { + std::println!("Hello world!"); +} |