2016-03-25 19:36:03 -05:00
|
|
|
// compile-flags: -Z parse-only -Z continue-parse-after-error
|
2014-05-23 17:20:46 -05:00
|
|
|
static c3: char =
|
|
|
|
'\x1' //~ ERROR: numeric character escape is too short
|
|
|
|
;
|
|
|
|
|
|
|
|
static s: &'static str =
|
|
|
|
"\x1" //~ ERROR: numeric character escape is too short
|
|
|
|
;
|
|
|
|
|
2014-06-16 16:12:44 -05:00
|
|
|
static c: char =
|
|
|
|
'\●' //~ ERROR: unknown character escape
|
|
|
|
;
|
|
|
|
|
|
|
|
static s: &'static str =
|
|
|
|
"\●" //~ ERROR: unknown character escape
|
|
|
|
;
|
|
|
|
|