mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
Tests: Add regression tests for the LibCpp preprocessor
Similarly to the LibCpp parser regression tests, these tests run the preprocessor on the .cpp test files under Userland/LibCpp/Tests/preprocessor, and compare the output with existing .txt ground truth files.
This commit is contained in:
parent
a38c330c68
commit
e57fdb63f8
13 changed files with 101 additions and 3 deletions
4
Userland/Libraries/LibCpp/Tests/preprocessor/macro1.txt
Normal file
4
Userland/Libraries/LibCpp/Tests/preprocessor/macro1.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
Integer 1:0-1:2 (2)
|
||||
Plus 1:0-1:2 (+)
|
||||
Integer 1:0-1:2 (5)
|
||||
Semicolon 1:8-1:8 (;)
|
Loading…
Add table
Add a link
Reference in a new issue