ladybird/Userland/Libraries/LibCpp/Tests/preprocessor/macro3.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

4 lines
54 B
C++

#define M(x, y, z) x y = z;
M(Vector, vec, ({1,2}))