annotate tests/t28.c @ 136:59680a727e9d

Improve previous. Just in case we ever crash and reach cleanup() while processing an -include foo option, take the array entry for it out of the array to make sure it doesn't get freed twice. This case shouldn't be reachable, but it's better to be safe.
author David A. Holland
date Tue, 09 Jul 2013 13:38:43 -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