rust/tests/ui/lexer/lex-bad-char-literals-4.rs

6 lines
155 B
Rust

//
// This test needs to the last one appearing in this file as it kills the parser
static c: char =
' //~ ERROR: unterminated character literal
;