diff options
Diffstat (limited to 'tests/ui/parser/recover-from-homoglyph.rs')
-rw-r--r-- | tests/ui/parser/recover-from-homoglyph.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/parser/recover-from-homoglyph.rs b/tests/ui/parser/recover-from-homoglyph.rs new file mode 100644 index 000000000..99ce0d1a6 --- /dev/null +++ b/tests/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 +} |