summaryrefslogtreecommitdiffstats
path: root/tests/ui/lexer/lex-bad-char-literals-2.rs
blob: d35dafd9a3443b6786151fde77ba5ff4774fccce (plain)
1
2
3
4
5
6
// 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() {}