]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lexer/lex-bad-char-literals-2.rs
Rollup merge of #101995 - scottmcm:carrying-mul-example, r=Mark-Simulacrum
[rust.git] / src / test / ui / lexer / lex-bad-char-literals-2.rs
1 // This test needs to the last one appearing in this file as it kills the parser
2 static c: char =
3     'nope' //~ ERROR: character literal may only contain one codepoint
4 ;
5
6 fn main() {}