summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-62546.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-62546.rs')
-rw-r--r--tests/ui/parser/issues/issue-62546.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-62546.rs b/tests/ui/parser/issues/issue-62546.rs
new file mode 100644
index 000000000..f06b65058
--- /dev/null
+++ b/tests/ui/parser/issues/issue-62546.rs
@@ -0,0 +1,3 @@
+pub t(#
+//~^ ERROR missing `fn` or `struct` for function or struct definition
+//~ ERROR this file contains an unclosed delimiter