added manual test for new Char copy-on-write mechanic

This commit is contained in:
Kjistóf 2016-10-23 15:30:25 +02:00
parent 4a1709d626
commit 53efe34ed1

View File

@ -26,4 +26,5 @@ int main()
String str5 = str2; String str5 = str2;
str5[0] = 'i'; str5[0] = 'i';
std::cout << str5 << std::endl; std::cout << str5 << std::endl;
std::cout << str2 << std::endl;
} }