view tests/t27.c @ 119:4f493fb35821

Test empty arguments.
author David A. Holland
date Tue, 11 Jun 2013 14:12:54 -0400
parents
children
line wrap: on
line source

1.
#define A(a) a
A();

2.
#define B(a, b) (a,b)
B(a, );
B(, b);
B( , );
B(a,);
B(,b);
B(,);

3.
#define C(a, b, c) (a,b,c)
C(a, b, );
C(a, , c);
C(, , c);
C(a, , );
C(, b, );
C(, , c);
C(, , )
C(a,b,);
C(a,,c);
C(,,c);
C(a,,);
C(,b,);
C(,,c);
C(,,)