summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs')
-rw-r--r--tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs b/tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs
new file mode 100644
index 000000000..7e7995d67
--- /dev/null
+++ b/tests/ui/parser/multibyte-char-use-seperator-issue-80134.rs
@@ -0,0 +1,10 @@
+// Regression test for #80134.
+
+fn main() {
+ (()é);
+ //~^ ERROR: expected one of `)`, `,`, `.`, `?`, or an operator
+ //~| ERROR: cannot find value `é` in this scope
+ (()氷);
+ //~^ ERROR: expected one of `)`, `,`, `.`, `?`, or an operator
+ //~| ERROR: cannot find value `氷` in this scope
+}