From 8d0431fd9a7c1d044e54f9ebfdf7dfa638b93ea2 Mon Sep 17 00:00:00 2001 From: mcarton Date: Wed, 12 Oct 2016 12:00:26 +0200 Subject: [PATCH] Test for #1275 Close #1275. --- tests/compile-fail/print_with_newline.rs | 1 + 1 file changed, 1 insertion(+) 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); }