ref: 1b8dcd44d13ee59c6e19fd22684b5e3071f5b774
parent: 06ee05139a10abc443176c37ac2de9c4993f237f
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Fri Apr 6 09:43:23 EDT 2018
[tests/scc] Add test for macro expansion in #include
--- /dev/null
+++ b/tests/scc/execute/0178-include.c
@@ -1,0 +1,9 @@
+
+#define FILE "0178-include.h"
+#include FILE
+
+int
+main()
+{
+ return RET;
+}
--- /dev/null
+++ b/tests/scc/execute/0178-include.h
@@ -1,0 +1,2 @@
+
+#define RET 0
--- a/tests/scc/execute/scc-tests.lst
+++ b/tests/scc/execute/scc-tests.lst
@@ -168,3 +168,4 @@
0175-defined.c [TODO]
0176-macro.c [TODO]
0177-literal.c [TODO]
+0178-include.c [TODO]