Mercurial > ~dholland > hg > tradcpp > index.cgi
view tests/t27.c @ 135:eaae8014a94a
Don't assert and leak memory if failing during argument collection.
Once you have a -D option or a -include foo option, you need to clean
up the arrays those are accumulated in if you die before they're
collected and handled.
author | David A. Holland |
---|---|
date | Tue, 09 Jul 2013 13:35:40 -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(,,)