summaryrefslogtreecommitdiffstats
path: root/src/test/ui/hello.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/hello.rs')
-rw-r--r--src/test/ui/hello.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/ui/hello.rs b/src/test/ui/hello.rs
new file mode 100644
index 000000000..c66b7c60f
--- /dev/null
+++ b/src/test/ui/hello.rs
@@ -0,0 +1,12 @@
+// run-pass
+// revisions: e2015 e2018 e2021 e2024
+
+//[e2018] edition:2018
+//[e2021] edition:2021
+//[e2024] edition:2024
+
+//[e2024] compile-flags: -Zunstable-options
+
+fn main() {
+ println!("hello");
+}