summaryrefslogtreecommitdiffstats
path: root/src/test/ui/fmt/issue-104142.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/fmt/issue-104142.rs')
-rw-r--r--src/test/ui/fmt/issue-104142.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/fmt/issue-104142.rs b/src/test/ui/fmt/issue-104142.rs
new file mode 100644
index 000000000..8d7283a71
--- /dev/null
+++ b/src/test/ui/fmt/issue-104142.rs
@@ -0,0 +1,6 @@
+fn main() {
+ println!(
+ r#"
+ \"\'}、"# //~ ERROR invalid format string: unmatched `}` found
+ );
+}