]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-3.rs
Fix tests
[rust.git] / src / test / ui / parser / lex-bad-char-literals-3.rs
1 // This test needs to the last one appearing in this file as it kills the parser
2 static c: char =
3     '●●' //~ ERROR: character literal may only contain one codepoint
4 ;
5
6 fn main() {
7     let ch: &str = '●●'; //~ ERROR: character literal may only contain one codepoint
8     //~^ ERROR: mismatched types
9 }