Skip to content
Permalink
Browse files
Added unit test to make sure x() is okay with #define x(a).
  • Loading branch information
icculus committed Apr 9, 2009
1 parent f2c1943 commit 261731647605968f8e8e22d69a5513d6f2963151
@@ -0,0 +1,5 @@
// x() should be considered one (blank) argument when there is a macro which
// has one parameter. It should produce "RIGHT" and not "RIGHT()", and no
// errors.
#define x(a) RIGHT a
x()
@@ -0,0 +1 @@
RIGHT

0 comments on commit 2617316

Please sign in to comment.