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

int main(int argc, char *argv[])
{
  if ( argc < 2 )
    {
    fprintf(stderr, "Usage: %s <file>\n", argv[0]);
    return 1;
    }
  FILE *fp = fopen(argv[1],"w");
  
  fprintf(fp,"int wrapped() { return 5; }\n");
  fclose(fp);
  return 0;
}