rust/tests/ui/lexer/lex-bad-char-literals-2.rs
2023-01-11 09:32:08 +00:00

7 lines
185 B
Rust

// This test needs to the last one appearing in this file as it kills the parser
static c: char =
'nope' //~ ERROR: character literal may only contain one codepoint
;
fn main() {}