diff options
Diffstat (limited to 'src/test/ui/fmt/format-raw-string-error.rs')
-rw-r--r-- | src/test/ui/fmt/format-raw-string-error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/ui/fmt/format-raw-string-error.rs b/src/test/ui/fmt/format-raw-string-error.rs new file mode 100644 index 000000000..9f0bc01a7 --- /dev/null +++ b/src/test/ui/fmt/format-raw-string-error.rs @@ -0,0 +1,3 @@ +fn main() { + println!(r#"\'\'\'\'\'\'\'\'\'\'\'\'\'\'}"#); //~ ERROR invalid format string: unmatched `}` found +} |