From 8f20044a6460ea86b2e0a3d6d4985792c9021ad2 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 8 Mar 2002 13:12:31 -0500 Subject: [PATCH] ENH: more dec silly stuff --- Tests/Complex/Executable/complex.cxx | 1 + Tests/ComplexOneConfig/Executable/complex.cxx | 1 + Tests/ComplexRelativePaths/Executable/complex.cxx | 1 + 3 files changed, 3 insertions(+) diff --git a/Tests/Complex/Executable/complex.cxx b/Tests/Complex/Executable/complex.cxx index d239b5c30..454b2c6c5 100644 --- a/Tests/Complex/Executable/complex.cxx +++ b/Tests/Complex/Executable/complex.cxx @@ -23,6 +23,7 @@ void ForceStringUse() std::string x(5,'x'); char buff[5]; x.copy(buff, 1, 0); + x[0] = 'a'; std::string::size_type pos = 0; x.replace(pos, pos, pos, 'x'); std::string copy = cachetest; diff --git a/Tests/ComplexOneConfig/Executable/complex.cxx b/Tests/ComplexOneConfig/Executable/complex.cxx index d239b5c30..454b2c6c5 100644 --- a/Tests/ComplexOneConfig/Executable/complex.cxx +++ b/Tests/ComplexOneConfig/Executable/complex.cxx @@ -23,6 +23,7 @@ void ForceStringUse() std::string x(5,'x'); char buff[5]; x.copy(buff, 1, 0); + x[0] = 'a'; std::string::size_type pos = 0; x.replace(pos, pos, pos, 'x'); std::string copy = cachetest; diff --git a/Tests/ComplexRelativePaths/Executable/complex.cxx b/Tests/ComplexRelativePaths/Executable/complex.cxx index d239b5c30..454b2c6c5 100644 --- a/Tests/ComplexRelativePaths/Executable/complex.cxx +++ b/Tests/ComplexRelativePaths/Executable/complex.cxx @@ -23,6 +23,7 @@ void ForceStringUse() std::string x(5,'x'); char buff[5]; x.copy(buff, 1, 0); + x[0] = 'a'; std::string::size_type pos = 0; x.replace(pos, pos, pos, 'x'); std::string copy = cachetest;