xref: /freebsd/contrib/unifdef/tests/multi.expout (revision 4543ef516683042d46f3bd3bb8a4f3f746e00499)
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