summary refs log tree commit diff
path: root/src/test/run-make/cannot-read-embedded-idents
AgeCommit message (Collapse)AuthorLines
2014-08-13rustc lexer: regression tests for embedded Idents.Felix S. Klock II-0/+72
I chose to make two of them because I wanted something close to an "end-to-end" test (*), but at the same time I wanted a test that would run on Windows (**). (*) The run-make test serves as the end-to-end: It constructs an input that is trying to subvert the hack and we are going to check that it fails in the attempt). (**) The compile-fail-fulldeps test serves as a more narrow test that will be tested on all platforms. It also attempts to subvert the hack, testing that when you use `new_parser_from_tts`, the resulting parser does not support reading embedded Idents.