summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-104897.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/issue-104897.rs')
-rw-r--r--src/test/ui/lint/issue-104897.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/ui/lint/issue-104897.rs b/src/test/ui/lint/issue-104897.rs
new file mode 100644
index 000000000..5fbc658f1
--- /dev/null
+++ b/src/test/ui/lint/issue-104897.rs
@@ -0,0 +1,6 @@
+// error-pattern: this file contains an unclosed delimiter
+// error-pattern: this file contains an unclosed delimiter
+// error-pattern: this file contains an unclosed delimiter
+// error-pattern: format argument must be a string literal
+
+fn f(){(print!(รก