summaryrefslogtreecommitdiff
path: root/Tests/CustomCommand/wrapper.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CustomCommand/wrapper.c')
-rw-r--r--Tests/CustomCommand/wrapper.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CustomCommand/wrapper.c b/Tests/CustomCommand/wrapper.c
new file mode 100644
index 0000000000..0ed4b76e5a
--- /dev/null
+++ b/Tests/CustomCommand/wrapper.c
@@ -0,0 +1,9 @@
+#include <stdio.h>
+
+main(int argc, char *argv[])
+{
+ FILE *fp = fopen(argv[1],"w");
+
+ fprintf(fp,"int wrapped() { return 5; }\n");
+ fclose(fp);
+}