summaryrefslogtreecommitdiffstats
path: root/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-07-14 16:21:49 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-07-14 16:21:49 (GMT)
commitb7b35d2c5aab37c83a77e016de5e01bfaef4eff7 (patch)
tree41c34350ee3ac18d5b42d9d4577ed2a9c92f3580 /Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
parente8b10e1938c2584f8017accf196b1bbad369cb8e (diff)
downloadCMake-b7b35d2c5aab37c83a77e016de5e01bfaef4eff7.zip
CMake-b7b35d2c5aab37c83a77e016de5e01bfaef4eff7.tar.gz
CMake-b7b35d2c5aab37c83a77e016de5e01bfaef4eff7.tar.bz2
FIX: fix bug 2043 borland compiler and dll problem and add a test for it
Diffstat (limited to 'Tests/OutOfSource/OutOfSourceSubdir/simple.cxx')
-rw-r--r--Tests/OutOfSource/OutOfSourceSubdir/simple.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
index 1482f27..cfb1f1a 100644
--- a/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
+++ b/Tests/OutOfSource/OutOfSourceSubdir/simple.cxx
@@ -1,4 +1,10 @@
+#include "testlib.h"
+
int main ()
{
+ if(TestLib() != 1.0)
+ {
+ return -1;
+ }
return 0;
}