Compare commits

...

2 Commits

Author SHA1 Message Date
7b6ba63819 preprocessor bug noticed by Emil 2023-09-21 09:15:16 +02:00
aa4d45abaa fixup 2023-09-21 09:14:37 +02:00
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#if __cplusplus
#ifdef __cplusplus
# pragma GCC diagnostic ignored "-Wc++20-extensions"
#endif

View File

@ -102,6 +102,8 @@ signed main() {
puts("");
TEST(R"del(\<int\>)del", "printf", false);
TEST(R"del(\<print\>)del", " print ", true);
TEST(R"del(\<print\>)del", "\nprint\n", true);
if (test_counter == passed_tests) {
fputs("\033[32m", stdout);