summaryrefslogtreecommitdiffstats
path: root/Tests/SameName/Exe1/conly.c
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-16 15:47:29 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-16 15:47:29 (GMT)
commit0fa75654078f81b19ab7bcee9ecc6642a13dcabb (patch)
treef0596a2f30fbc1b7e3d4720b262d76ad0fb0adac /Tests/SameName/Exe1/conly.c
parent662234eff99aad2f9f7961e094f046800173981a (diff)
downloadCMake-0fa75654078f81b19ab7bcee9ecc6642a13dcabb.zip
CMake-0fa75654078f81b19ab7bcee9ecc6642a13dcabb.tar.gz
CMake-0fa75654078f81b19ab7bcee9ecc6642a13dcabb.tar.bz2
ENH: add same name test
Diffstat (limited to 'Tests/SameName/Exe1/conly.c')
-rw-r--r--Tests/SameName/Exe1/conly.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/SameName/Exe1/conly.c b/Tests/SameName/Exe1/conly.c
new file mode 100644
index 0000000..eb62c30
--- /dev/null
+++ b/Tests/SameName/Exe1/conly.c
@@ -0,0 +1,12 @@
+#include "libc1.h"
+#include <stdio.h>
+
+int main ()
+{
+ if ( LibC1Func() != 2.0 )
+ {
+ printf("Problem with libc1\n");
+ return 1;
+ }
+ return 0;
+}