diff --git a/tests/compile-fail/print_with_newline.rs b/tests/compile-fail/print_with_newline.rs index 86fa88ef344..4c1ebd9fe50 100644 --- a/tests/compile-fail/print_with_newline.rs +++ b/tests/compile-fail/print_with_newline.rs @@ -16,4 +16,5 @@ fn main() { println!("Hello {}\n", "world"); print!("Issue\n{}", 1265); print!("{}", 1265); + print!("\n{}", 1275); }