Fix macro expansion of empty args.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
9
tests/tests2/71_macro_empty_arg.c
Normal file
9
tests/tests2/71_macro_empty_arg.c
Normal file
@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define T(a,b,c) a b c
|
||||
|
||||
int main(void)
|
||||
{
|
||||
printf("%d", T(1,+,2) T(+,,) T(,2,*) T(,7,) T(,,));
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user