projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3596bb1
)
Add test with extra whitespace in macro defintions and invocations.
author
Carl Worth
<cworth@cworth.org>
Fri, 14 May 2010 23:58:00 +0000
(16:58 -0700)
committer
Carl Worth
<cworth@cworth.org>
Sat, 15 May 2010 00:03:43 +0000
(17:03 -0700)
This whitespace is not dealt with in an elegant way yet so this test
does not pass currently.
tests/023-define-extra-whitespace.c
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/023-define-extra-whitespace.c
b/tests/023-define-extra-whitespace.c
new file mode 100644
(file)
index 0000000..
375355a
--- /dev/null
+++ b/
tests/023-define-extra-whitespace.c
@@ -0,0
+1,8
@@
+#define noargs() 1
+# define onearg(foo) foo
+ # define twoargs( x , y ) x y
+ # define threeargs( a , b , c ) a b c
+noargs ( )
+ onearg ( 2 )
+ twoargs ( 3 , 4 )
+threeargs ( 5 , 6 , 7 )