STYLE: Nightly Version update
[cmake.git] / Tests / SimpleInstall / inst.cxx
blob241a296b4f3258d6f6fc73dec5ca51e6b813601a
1 #include "foo.h"
3 #include "lib1.h"
4 #include "lib2.h"
5 #include "lib4.h"
7 #include <stdio.h>
9 int main ()
11 if ( Lib1Func() != 2.0 )
13 printf("Problem with lib1\n");
14 return 1;
16 if ( Lib2Func() != 1.0 )
18 printf("Problem with lib2\n");
19 return 1;
21 if ( Lib4Func() != 4.0 )
23 printf("Problem with lib4\n");
24 return 1;
26 printf("The value of Foo: %s\n", foo);
27 return SomeFunctionInFoo()-5;