commit 1c14926bf631270934ef278748d5d0c24b4e3f81
parent cfd4ed4e03060ce4729e4dc4c101938b91fa85b7
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 6 Feb 2023 18:26:03 +0100
test/cc: Add execute 0221-ifdef.c
Co-authored-by: Tim Kelly <gtkelly@dialectronics.com>
Diffstat:
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/tests/cc/execute/0221-ifdef.c b/tests/cc/execute/0221-ifdef.c
@@ -0,0 +1,14 @@
+#ifndef _H
+#define _H
+
+#define _PROTO(x, y) x()
+
+_PROTO(int putc, (int, FILE *));
+
+#endif
+
+int
+main()
+{
+ return 0;
+}
diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst
@@ -211,3 +211,4 @@
0218-initialize.c [TODO]
0219-abbrev.c
0220-comma.c
+0221-ifdef.c