diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-28 15:15:59 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-28 15:15:59 -0700 |
commit | 614a9aece0888e7c8221ad2e8a231762442db794 (patch) | |
tree | dc8e450c4fdbd71fec44d75142466cb923026202 | |
parent | b1249f69fd687441632c2d2e63618627ae9be442 (diff) |
Add two more (failing) tests from the take-2 branch.
These tests were recently fixed on the take-2 branch, but will require
additional work before they will pass here.
-rw-r--r-- | tests/058-token-pasting-empty-arguments.c | 5 | ||||
-rw-r--r-- | tests/060-left-paren-in-macro-right-paren-in-text.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/058-token-pasting-empty-arguments.c b/tests/058-token-pasting-empty-arguments.c new file mode 100644 index 0000000000..8ac260c76b --- /dev/null +++ b/tests/058-token-pasting-empty-arguments.c @@ -0,0 +1,5 @@ +#define paste(x,y) x ## y +paste(a,b) +paste(a,) +paste(,b) +paste(,) diff --git a/tests/060-left-paren-in-macro-right-paren-in-text.c b/tests/060-left-paren-in-macro-right-paren-in-text.c new file mode 100644 index 0000000000..ed80ea879c --- /dev/null +++ b/tests/060-left-paren-in-macro-right-paren-in-text.c @@ -0,0 +1,3 @@ +#define double(a) a*2 +#define foo double( +foo 5) |