summaryrefslogtreecommitdiffstats
path: root/Tests/Wrapping/fakefluid.cxx
blob: 25c6e93a0ae7b29762c2a865a5ad90994f7b461f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
}