Skip to content

Commit 8d0431f

Browse files
committed
Test for #1275
Close #1275.
1 parent dc91b73 commit 8d0431f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/compile-fail/print_with_newline.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ fn main() {
1616
println!("Hello {}\n", "world");
1717
print!("Issue\n{}", 1265);
1818
print!("{}", 1265);
19+
print!("\n{}", 1275);
1920
}

0 commit comments

Comments
 (0)