cmake/Tests/TestDriver/test1.cxx
Pierre Habouzit 4c630dbbc0 import cmake 2.6.0
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
2008-10-12 18:41:06 +02:00

26 lines
383 B
C++

#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;
}