From 53efe34ed121f9ef445cbc5ec4b4373d6a21191e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sun, 23 Oct 2016 15:30:25 +0200 Subject: [PATCH] added manual test for new Char copy-on-write mechanic --- manualtest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/manualtest.cpp b/manualtest.cpp index a0094e6..a05dc2a 100644 --- a/manualtest.cpp +++ b/manualtest.cpp @@ -26,4 +26,5 @@ int main() String str5 = str2; str5[0] = 'i'; std::cout << str5 << std::endl; + std::cout << str2 << std::endl; } \ No newline at end of file