mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +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
11
Userland/Libraries/LibCpp/Tests/preprocessor/macro3.txt
Normal file
11
Userland/Libraries/LibCpp/Tests/preprocessor/macro3.txt
Normal file
|
@ -0,0 +1,11 @@
|
|||
KnownType 2:0-2:0 (Vector)
|
||||
Identifier 2:0-2:0 (vec)
|
||||
Equals 2:0-2:0 (=)
|
||||
LeftParen 2:0-2:0 (()
|
||||
LeftCurly 2:0-2:0 ({)
|
||||
Integer 2:0-2:0 (1)
|
||||
Comma 2:0-2:0 (,)
|
||||
Integer 2:0-2:0 (2)
|
||||
RightCurly 2:0-2:0 (})
|
||||
RightParen 2:0-2:0 ())
|
||||
Semicolon 2:0-2:0 (;)
|
Loading…
Add table
Add a link
Reference in a new issue