1 // compile-flags: -Z continue-parse-after-error
6 // these literals are just silly.
8 //~^ ERROR: character constant must be escaped: '
10 // note that this is a literal "\n" byte
13 //~^^ ERROR: character constant must be escaped: \n
15 // note that this is a literal "\r" byte
16 '
\r'; //~ ERROR: character constant must be escaped: \r
18 // note that this is a literal tab character here
20 //~^ ERROR: character constant must be escaped: \t