summaryrefslogtreecommitdiffstats
path: root/test/CC/CC-fixture
diff options
context:
space:
mode:
authorWilliam Blevins <wblevins001@gmail.com>2016-09-21 23:54:23 (GMT)
committerWilliam Blevins <wblevins001@gmail.com>2016-09-21 23:54:23 (GMT)
commit88eb753eb8e65721368beb2fc1247312e2a5ab4c (patch)
treef8628927dfdc201f4e4aca0a0101210be85fb1fc /test/CC/CC-fixture
parentf5035c6a61ad10f440a22c14ce22bbb1d6796f62 (diff)
downloadSCons-88eb753eb8e65721368beb2fc1247312e2a5ab4c.zip
SCons-88eb753eb8e65721368beb2fc1247312e2a5ab4c.tar.gz
SCons-88eb753eb8e65721368beb2fc1247312e2a5ab4c.tar.bz2
Fixed difference in types MethodType argument list between 2/3 which allowed finishing CC folder.
Diffstat (limited to 'test/CC/CC-fixture')
-rw-r--r--test/CC/CC-fixture/bar.c10
-rw-r--r--test/CC/CC-fixture/foo.c10
-rw-r--r--test/CC/CC-fixture/test1.c3
-rw-r--r--test/CC/CC-fixture/test2.C3
4 files changed, 26 insertions, 0 deletions
diff --git a/test/CC/CC-fixture/bar.c b/test/CC/CC-fixture/bar.c
new file mode 100644
index 0000000..de1e6e5
--- /dev/null
+++ b/test/CC/CC-fixture/bar.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main(int argc, char *argv[])
+{
+ argv[argc++] = "--";
+ printf("foo.c\n");
+ exit (0);
+}
diff --git a/test/CC/CC-fixture/foo.c b/test/CC/CC-fixture/foo.c
new file mode 100644
index 0000000..de1e6e5
--- /dev/null
+++ b/test/CC/CC-fixture/foo.c
@@ -0,0 +1,10 @@
+#include <stdio.h>
+#include <stdlib.h>
+
+int
+main(int argc, char *argv[])
+{
+ argv[argc++] = "--";
+ printf("foo.c\n");
+ exit (0);
+}
diff --git a/test/CC/CC-fixture/test1.c b/test/CC/CC-fixture/test1.c
new file mode 100644
index 0000000..7535b0a
--- /dev/null
+++ b/test/CC/CC-fixture/test1.c
@@ -0,0 +1,3 @@
+This is a .c file.
+/*cc*/
+/*link*/
diff --git a/test/CC/CC-fixture/test2.C b/test/CC/CC-fixture/test2.C
new file mode 100644
index 0000000..a1ee9e3
--- /dev/null
+++ b/test/CC/CC-fixture/test2.C
@@ -0,0 +1,3 @@
+This is a .C file.
+/*cc*/
+/*link*/