Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added unit test for parentheses inside a macro call.
  • Loading branch information
icculus committed Apr 9, 2009
1 parent 39779bc commit 3c35a7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions unit_tests/preprocessor/output/macro-paren-stacking
@@ -0,0 +1,3 @@
/* Should give you "RIGHT" instead of an error. */
#define a(a,b) b
a((1+1), RIGHT)
@@ -0,0 +1 @@
RIGHT

0 comments on commit 3c35a7f

Please sign in to comment.