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