diff options
Diffstat (limited to 'Tests/Wrapping/fakefluid.cxx')
-rw-r--r-- | Tests/Wrapping/fakefluid.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Tests/Wrapping/fakefluid.cxx b/Tests/Wrapping/fakefluid.cxx new file mode 100644 index 0000000..25c6e93 --- /dev/null +++ b/Tests/Wrapping/fakefluid.cxx @@ -0,0 +1,16 @@ +#include <stdio.h> +#include <string.h> +int main(int ac, char** av) +{ + for(int i =0; i < ac; ++i) + { + if(strcmp(av[i], "-o") == 0) + { + FILE* file = fopen(av[i+1], "w"); + fprintf(file, "// hello\n"); + fclose(file); + return 0; + } + } + return 0; +} |