summaryrefslogtreecommitdiff
path: root/Tests/TestDriver/test1.cxx
blob: ac82f8ae9a1c0bc4bb35d54de0e226ff3c34259a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <stdio.h>
int testExtraStuff3();
int testExtraStuff();
int testExtraStuff2();

int test1(int ac, char* av[])
{
  if(!testExtraStuff2())
    {
    return -1;
    }
  if(!testExtraStuff())
    {
    return -1;
    }
  if(!testExtraStuff3())
    {
    return -1;
    }
  
  printf("test1\n");
  for(int i =0; i < ac; i++)
    printf("arg %d is %s\n", ac, av[i]);
  return 0;
}