rust/src/test/ui/parser/lex-bad-char-literals-2.rs
2019-01-20 04:37:58 +09:00

5 lines
171 B
XML

// 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
;