]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/rustfmt/tests/target/issue-2025.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / target / issue-2025.rs
diff --git a/src/tools/rustfmt/tests/target/issue-2025.rs b/src/tools/rustfmt/tests/target/issue-2025.rs
new file mode 100644 (file)
index 0000000..38bf369
--- /dev/null
@@ -0,0 +1,4 @@
+// See if rustfmt removes empty lines on top of the file.
+pub fn foo() {
+    println!("hello, world");
+}