OSDN Git Service

Add test 56 for a comma within the expansion of an argument.
authorCarl Worth <cworth@cworth.org>
Thu, 27 May 2010 17:14:38 +0000 (10:14 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 27 May 2010 17:14:38 +0000 (10:14 -0700)
This case was tricky on the take-2 branch. It happens to be passing already
here.

tests/056-macro-argument-with-comma.c [new file with mode: 0644]

diff --git a/tests/056-macro-argument-with-comma.c b/tests/056-macro-argument-with-comma.c
new file mode 100644 (file)
index 0000000..58701d1
--- /dev/null
@@ -0,0 +1,4 @@
+#define bar with,embedded,commas
+#define function(x) success
+#define foo function
+foo(bar)