summaryrefslogtreecommitdiffstats
path: root/Tests/CustComDepend/foo.cxx
blob: 19dfcb1430e5b3d861e1df400bf74131920e65a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

int main(int ac, char** av)
{
  FILE* fout = fopen(av[1], "w");
  printf("create %s\n", av[1]);
  if(!fout)
    {
    return -1;
    }
  fprintf(fout, "#include <bar.h>\nBAR_EXPORT int bar(){ return 10;}\n");
  fclose(fout);
  return 0;
}