annotate tests/t28.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 cb08e397ce7b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
126
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
1 #if 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
2 . right
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
3
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
4 # if 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
5 .. right
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
6 # elif 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
7 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
8 # elif 0
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
9 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
10 # else
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
11 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
12 # endif
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
13
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
14 #elif 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
15 . wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
16
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
17 # if 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
18 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
19 # elif 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
20 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
21 # elif 0
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
22 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
23 # else
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
24 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
25 # endif
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
26
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
27 #elif 0
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
28 . wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
29
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
30 # if 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
31 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
32 # elif 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
33 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
34 # elif 0
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
35 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
36 # else
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
37 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
38 # endif
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
39
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
40 #else
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
41 . wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
42
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
43 # if 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
44 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
45 # elif 1
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
46 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
47 # elif 0
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
48 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
49 # else
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
50 .. wrong
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
51 # endif
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
52
cb08e397ce7b Test nested ifs.
David A. Holland
parents:
diff changeset
53 #endif