summaryrefslogtreecommitdiff
path: root/Tests/SubProject/foo/foo.cxx
diff options
context:
space:
mode:
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 000000000..68fa36376
--- /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;
+}