summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/recover-from-homoglyph.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/recover-from-homoglyph.rs')
-rw-r--r--src/test/ui/parser/recover-from-homoglyph.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/ui/parser/recover-from-homoglyph.rs b/src/test/ui/parser/recover-from-homoglyph.rs
new file mode 100644
index 000000000..99ce0d1a6
--- /dev/null
+++ b/src/test/ui/parser/recover-from-homoglyph.rs
@@ -0,0 +1,4 @@
+fn main() {
+ println!("")Íž //~ ERROR unknown start of token: \u{37e}
+ let x: usize = (); //~ ERROR mismatched types
+}