summaryrefslogtreecommitdiffstats
path: root/Tests/COnly/conly.c
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/COnly/conly.c')
-rw-r--r--Tests/COnly/conly.c13
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;
}