Skip to content

Commit

Permalink
Added a unit test for the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 16, 2013
1 parent d731fb1 commit 3471e38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions unit_tests/preprocessor/output/if-with-embedded-parens
@@ -0,0 +1,7 @@
// Before hg changeset 91c22d2de774, the preprocessor incorrect thought
// that the '+' is a unary operator and would fail to parse the expression.
#if ((1) + (0) < 12)
RIGHT
#else
WRONG
#endif
@@ -0,0 +1 @@
RIGHT

0 comments on commit 3471e38

Please sign in to comment.