mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
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.
This commit is contained in:
parent
b1249f69fd
commit
614a9aece0
2 changed files with 8 additions and 0 deletions
5
tests/058-token-pasting-empty-arguments.c
Normal file
5
tests/058-token-pasting-empty-arguments.c
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#define paste(x,y) x ## y
|
||||
paste(a,b)
|
||||
paste(a,)
|
||||
paste(,b)
|
||||
paste(,)
|
||||
3
tests/060-left-paren-in-macro-right-paren-in-text.c
Normal file
3
tests/060-left-paren-in-macro-right-paren-in-text.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#define double(a) a*2
|
||||
#define foo double(
|
||||
foo 5)
|
||||
Loading…
Add table
Reference in a new issue