]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-5.rs
Rollup merge of #57434 - nnethercote:rm-CrateNum-Invalid, r=petrochenkov
[rust.git] / src / test / ui / parser / lex-bad-char-literals-5.rs
1 //
2 // This test needs to the last one appearing in this file as it kills the parser
3 static c: char =
4     '\x10\x10'  //~ ERROR: character literal may only contain one codepoint
5                 //~| ERROR: mismatched types
6 ;
7
8 fn main() {}