summaryrefslogtreecommitdiffstats
path: root/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/OutOfSource/OutOfSourceSubdir/simple.cxx')
-rw-r--r--Tests/OutOfSource/OutOfSourceSubdir/simple.cxx11
1 files changed, 10 insertions, 1 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
index cfb1f1a..e06777d 100644
--- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
+++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
@@ -1,7 +1,16 @@
+#include <stdio.h>
+#include <string.h>
+
#include "testlib.h"
+#include "testdp.h"
int main ()
-{
+{
+ if (strcmp(animal,"SIZZLING"))
+ {
+ fprintf(stderr,"Get definitions from a subdir did not work\n");
+ return -2;
+ }
if(TestLib() != 1.0)
{
return -1;