diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-12-31 20:22:48 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-12-31 20:22:48 (GMT) |
commit | 9bb153cbf15e65a559630bbd0dd43454692ea419 (patch) | |
tree | 42888b0a37c452cb7de31e0dfef6e34280d4f019 /Tests/COnly/conly.c | |
parent | 61cd9298cd327d83a014db6cad2fc173698c0398 (diff) | |
download | CMake-9bb153cbf15e65a559630bbd0dd43454692ea419.zip CMake-9bb153cbf15e65a559630bbd0dd43454692ea419.tar.gz CMake-9bb153cbf15e65a559630bbd0dd43454692ea419.tar.bz2 |
Test also stating and shared libraries
Diffstat (limited to 'Tests/COnly/conly.c')
-rw-r--r-- | Tests/COnly/conly.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/COnly/conly.c b/Tests/COnly/conly.c index 3f720ef..e8280ec 100644 --- a/Tests/COnly/conly.c +++ b/Tests/COnly/conly.c @@ -1,9 +1,22 @@ #include "foo.h" +#include "libc1.h" +#include "libc2.h" + #include <stdio.h> int main () { + if ( LibC1Func() != 2.0 ) + { + printf("Problem with libc1\n"); + return 1; + } + if ( LibC2Func() != 1.0 ) + { + printf("Problem with libc2\n"); + return 1; + } printf("Foo: %s\n", foo); return 0; } |