]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/lex-bad-char-literals-2.rs
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / 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() {}