mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +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
Notes:
sideshowbarker
2024-07-18 06:59:35 +09:00
Author: https://github.com/itamar8910
Commit: e57fdb63f8
Pull-request: https://github.com/SerenityOS/serenity/pull/9402
13 changed files with 101 additions and 3 deletions
3
Userland/Libraries/LibCpp/Tests/preprocessor/macro2.cpp
Normal file
3
Userland/Libraries/LibCpp/Tests/preprocessor/macro2.cpp
Normal file
|
@ -0,0 +1,3 @@
|
|||
#define M(x) String {x + "lo"}
|
||||
|
||||
M("he" + "l")
|
Loading…
Add table
Add a link
Reference in a new issue