HardenedBSD/contrib/unifdef/tests/multinewline.expout

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
552 B
Plaintext
Raw Normal View History

2023-08-21 19:33:26 +02:00
--- mcrlf.c~
+++ mcrlf.c
@@ -1,14 +1,4 @@
-#if F1
int f1() { return 0; }
-#elif F2
-int f2() { return 0; }
-#elif F3
-int f3() { return 0; }
-#elif F4
-int f4() { return 0; }
-#else
-int f() { return 0; }
-#endif
\/
/\
comment
--- mif1.c~
+++ mif1.c
@@ -5,18 +5,12 @@
#include <stdio.h>
#include <stdlib.h>
-#if FOO
int foo() { return 0; }
-#else
-#error FOO not defined
-#endif
#if BAR
int foo() { return 0; }
-#elif FOO
-int bar() { return 0; }
#else
-#error FOO not defined
+int bar() { return 0; }
#endif
int main()