diff options
Diffstat (limited to 'Tests/OutOfSource/OutOfSourceSubdir/simple.cxx')
-rw-r--r-- | Tests/OutOfSource/OutOfSourceSubdir/simple.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx index 3c9be09..124b7f9 100644 --- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx +++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx @@ -5,6 +5,7 @@ #include "testdp.h" extern int simple(); +extern "C" int outlib(); int main () { @@ -21,5 +22,9 @@ int main () { return -1; } + if(outlib() != 456) + { + return -4; + } return 0; } |