Skip to content

Commit

Permalink
Solving more issues with preprocessor.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Oct 5, 2023
1 parent 5d4f0fa commit f66f453
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TEST_F(preprocessor_test, empty)
{
const char empty_str[] = "";

EXPECT_EQ((int)0, (int)strcmp(empty_str, PREPROCESSOR_STRINGIFY(PREPROCESSOR_EMPTY_SYMBOL())));
EXPECT_EQ((int)0, (int)strcmp(empty_str, PREPROCESSOR_STRINGIFY_OR_EMPTY(PREPROCESSOR_EMPTY_SYMBOL())));

PREPROCESSOR_EMPTY_EXPANSION(this must compile)

Expand Down

0 comments on commit f66f453

Please sign in to comment.