aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/233 link depends indexed custom target/foo.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/233 link depends indexed custom target/foo.c')
-rw-r--r--test cases/common/233 link depends indexed custom target/foo.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/common/233 link depends indexed custom target/foo.c b/test cases/common/233 link depends indexed custom target/foo.c
new file mode 100644
index 0000000..58c86a6
--- /dev/null
+++ b/test cases/common/233 link depends indexed custom target/foo.c
@@ -0,0 +1,15 @@
+#include <stdio.h>
+
+int main(void) {
+ const char *fn = DEPFILE;
+ FILE *f = fopen(fn, "r");
+ if (!f) {
+ printf("could not open %s", fn);
+ return 1;
+ }
+ else {
+ printf("successfully opened %s", fn);
+ }
+
+ return 0;
+}