Files
carbon-lang/executable_semantics/testdata/invalid_char.golden
T
Jon Meow 368fc0063c Handle invalid chars better, and do small cleanups around error output. (#657)
This adds a test for invalid characters (that would've failed before, because the printed char isn't escaped). Not sure if there's a good way to test the PrintDiagnostic code, as it appears to occur on bison parser errors, which I'm just not sure how to trigger.
2021-07-20 12:04:45 -07:00

3 lines
59 B
Plaintext

1.1: invalid character '\xFE' in source file.
EXIT CODE: 1