summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-13 10:41:53 -0700
committerCarl Worth <cworth@cworth.org>2010-05-14 09:20:13 -0700
commit27bc8930ba9ba67f2de29a03232a948316409ded (patch)
tree60d11f1824a4f23343ba1155475c070f4859c84a
parent0a93cbbe4f00e0bdd0c61119d3598e3a98a37505 (diff)
Add some whitespace variations to test 15.
This shows two minor failures in our current parsing (resulting in whitespace-only changes, oso not that significant): 1. We are inserting extra whitespace between tokens not originally separated by whitespace in the replacement list of a macro definition. 2. We are swallowing whitespace separating tokens in the general content.
-rw-r--r--tests/015-define-object-with-parens.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/015-define-object-with-parens.c b/tests/015-define-object-with-parens.c
index 7dcadfa24f..10bf7e31a3 100644
--- a/tests/015-define-object-with-parens.c
+++ b/tests/015-define-object-with-parens.c
@@ -1,2 +1,4 @@
#define foo ( ) 1
foo()
+#define bar () 2
+bar( )