summaryrefslogtreecommitdiffstats
path: root/Tests/SubProject/foo/foo.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-01-30 18:02:32 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-01-30 18:02:32 (GMT)
commitd51e9cf180fa057e9fde7a203564da0ba1ac6fab (patch)
treeaa4a48f8b02ca5c5c1eba584604043173d7e9747 /Tests/SubProject/foo/foo.cxx
parent2d0e838339153a3478329c639a2581043d571b87 (diff)
downloadCMake-d51e9cf180fa057e9fde7a203564da0ba1ac6fab.zip
CMake-d51e9cf180fa057e9fde7a203564da0ba1ac6fab.tar.gz
CMake-d51e9cf180fa057e9fde7a203564da0ba1ac6fab.tar.bz2
ENH: add missing files
Diffstat (limited to 'Tests/SubProject/foo/foo.cxx')
-rw-r--r--Tests/SubProject/foo/foo.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/SubProject/foo/foo.cxx b/Tests/SubProject/foo/foo.cxx
new file mode 100644
index 0000000..68fa363
--- /dev/null
+++ b/Tests/SubProject/foo/foo.cxx
@@ -0,0 +1,15 @@
+int bar();
+#include <stdio.h>
+
+int main(int ac, char** av)
+{
+ (void)ac;
+ (void)av;
+ int ret = bar();
+ printf("bar = %d\n", ret);
+ if(ret == 10)
+ {
+ return 0;
+ }
+ return -1;
+}