view tests/t27.c @ 146:15f51ed08ecf

Add more tests for some degenerate cases we don't handle right.
author David A. Holland
date Sat, 13 Jul 2013 14:47:29 -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(,,)