summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/complex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/complex.cxx')
-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")
{