rustc/tests/ui/lexer/lex-bad-char-literals-2.rs
2023-08-02 10:33:26 +02: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() {}