diff options
Diffstat (limited to 'Tests/CustomCommand/generator.cxx')
-rw-r--r-- | Tests/CustomCommand/generator.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/CustomCommand/generator.cxx b/Tests/CustomCommand/generator.cxx new file mode 100644 index 0000000..0cb70db --- /dev/null +++ b/Tests/CustomCommand/generator.cxx @@ -0,0 +1,9 @@ +#include <stdio.h> + +int main(int argc, char *argv[]) +{ + FILE *fp = fopen(argv[1],"w"); + + fprintf(fp,"int generated() { return 3; }\n"); + fclose(fp); +} |