summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-08 03:07:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-08 03:07:57 (GMT)
commit42a34e4722a39b39d3c89b6ba4aebd05999120ec (patch)
tree2a6a7e8c699e38e8a15a3df5da845bc2111c0a10 /Tests/ComplexOneConfig/Executable
parent61e87c3a6dea90a07e1f9f41e936d9ee26188111 (diff)
downloadCMake-42a34e4722a39b39d3c89b6ba4aebd05999120ec.zip
CMake-42a34e4722a39b39d3c89b6ba4aebd05999120ec.tar.gz
CMake-42a34e4722a39b39d3c89b6ba4aebd05999120ec.tar.bz2
ENH: add more junk for the dec cxx compiler to force it to instantiate stuff
Diffstat (limited to 'Tests/ComplexOneConfig/Executable')
-rw-r--r--Tests/ComplexOneConfig/Executable/complex.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx
index 428ce62..b08dcdc 100644
--- a/Tests/ComplexOneConfig/Executable/complex.cxx
+++ b/Tests/ComplexOneConfig/Executable/complex.cxx
@@ -471,10 +471,15 @@ int main()
cmFailed("the LOAD_CACHE or CONFIGURE_FILE command is broken, "
"CACHE_TEST_VAR_INTERNAL is not defined.");
#else
+ std::vector<std::string> v;
+ std::vector<std::string> v2;
+ v = v2;
std::string cachetest = CACHE_TEST_VAR_INTERNAL;
std::string copy = cachetest;
cachetest.find("bar");
cachetest.rfind("bar");
+ copy.replace(0,0,0,'a');
+ copy.append(cachetest);
copy = cachetest.substr(0, cachetest.size());
if(cachetest != "bar")
{