view tests/t27.c @ 126:cb08e397ce7b

Test nested ifs.
author David A. Holland
date Wed, 12 Jun 2013 10:51:10 -0400
parents 4f493fb35821
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(,,)