about summary refs log tree commit diff
path: root/src/test/ui/hello2021.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/hello2021.rs')
-rw-r--r--src/test/ui/hello2021.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/hello2021.rs b/src/test/ui/hello2021.rs
new file mode 100644
index 00000000000..738f151b0f6
--- /dev/null
+++ b/src/test/ui/hello2021.rs
@@ -0,0 +1,7 @@
+// run-pass
+// edition:2021
+// compile-flags: -Zunstable-options
+
+fn main() {
+    println!("hello, 2021");
+}