// option. This file may not be copied, modified, or distributed
// except according to those terms.
+// compile-flags: -Z parse-only
static c3: char =
'\x1' //~ ERROR: numeric character escape is too short
;
"\●" //~ ERROR: unknown character escape
;
-// THIS MUST BE LAST, since unterminated character constants kill the lexer
+// THIS MUST BE LAST, since it kills the lexer
static c: char =
- '● //~ ERROR: unterminated character constant
+ '● //~ ERROR: character literal may only contain one codepoint
;