From 3942e9c0974e8435b6d12de4fe2695e691423ab1 Mon Sep 17 00:00:00 2001 From: "hans.dembinski@gmail.com" Date: Sun, 5 Feb 2017 20:01:47 +0000 Subject: [PATCH] following pdimovs suggestion to avoid folding --- test/lightweight_test_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lightweight_test_test.cpp b/test/lightweight_test_test.cpp index a38d9d2..a2c5971 100644 --- a/test/lightweight_test_test.cpp +++ b/test/lightweight_test_test.cpp @@ -65,7 +65,7 @@ int main() BOOST_TEST_EQ( ++x, ++y ); BOOST_TEST_EQ( x++, y++ ); - BOOST_TEST_EQ("abc", "xxxabc"+3); // make sure addresses are different + BOOST_TEST_EQ("xabc"+1, "yabc"+1); // make sure addresses are different // BOOST_TEST_NE