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.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
index 0be7195..d88c311 100644
--- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
+++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
@@ -5,7 +5,9 @@
#include "testdp.h"
extern int simple();
+#ifndef NO_DEEPSRC
extern int simple2();
+#endif
extern "C" int outlib();
int main ()
@@ -27,9 +29,11 @@ int main ()
{
return -4;
}
+#ifndef NO_DEEPSRC
if(simple2() != 789)
{
return -5;
}
+#endif
return 0;
}