about summary refs log tree commit diff
path: root/tests/ui/new-import-syntax.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/new-import-syntax.rs')
-rw-r--r--tests/ui/new-import-syntax.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/new-import-syntax.rs b/tests/ui/new-import-syntax.rs
new file mode 100644
index 00000000000..f132ed57ce9
--- /dev/null
+++ b/tests/ui/new-import-syntax.rs
@@ -0,0 +1,5 @@
+// run-pass
+
+pub fn main() {
+    println!("Hello world!");
+}