xref: /freebsd/contrib/unifdef/tests/multi.expout (revision e5b786625f7f82a1fa91e41823332459ea5550f9)
1--- mif1.c~
2+++ mif1.c
3@@ -5,19 +5,9 @@
4 #include <stdio.h>
5 #include <stdlib.h>
6
7-#if FOO
8 int foo() { return 0; }
9-#else
10-#error FOO not defined
11-#endif
12
13-#if BAR
14-int foo() { return 0; }
15-#elif FOO
16 int bar() { return 0; }
17-#else
18-#error FOO not defined
19-#endif
20
21 int main()
22 {
23--- mif2.c~
24+++ mif2.c
25@@ -5,11 +5,7 @@
26 #include <stdio.h>
27 #include <stdlib.h>
28
29-#if defined(FOO)
30 int foo() { return 0; }
31-#else
32-#error FOO not defined
33-#endif
34
35 int main()
36 {
37