about summary refs log tree commit diff
path: root/tests/ui/parser/unicode-chars.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/unicode-chars.rs')
-rw-r--r--tests/ui/parser/unicode-chars.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/ui/parser/unicode-chars.rs b/tests/ui/parser/unicode-chars.rs
new file mode 100644
index 00000000000..89ae85ec990
--- /dev/null
+++ b/tests/ui/parser/unicode-chars.rs
@@ -0,0 +1,5 @@
+fn main() {
+    let y = 0;
+    //~^ ERROR unknown start of token: \u{37e}
+    //~^^ HELP Unicode character ';' (Greek Question Mark) looks like ';' (Semicolon), but it is not
+}