mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +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:
2
Userland/Libraries/LibCpp/Tests/preprocessor/macro1.cpp
Normal file
2
Userland/Libraries/LibCpp/Tests/preprocessor/macro1.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#define ADD(x,y) x+y
|
||||
ADD(2,5);
|
||||
Reference in New Issue
Block a user