annotate tests/t16.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 0cd5a1d55ed6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
52
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
1 #define a() x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
2 a()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
3 a ()
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
4 #define b(p) p
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
5 x/**/b(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
6 x/**/b (1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
7 x/**/b()/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
8 #define c(p,q) p/**/q
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
9 x/**/c(1,2)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
10 x/**/c(1)/**/x
ebdc6a4cb0f8 Test case for handling of missing arguments.
Joerg Sonnenberger <joerg@bec.de>
parents:
diff changeset
11 x/**/c()/**/x