ladybird/Userland/Libraries/LibCpp/Tests/preprocessor/macro2.cpp
Itamar e57fdb63f8 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.
2021-08-14 12:40:55 +02:00

3 lines
46 B
C++

#define M(x) String {x + "lo"}
M("he" + "l")