Added assignment to MString from ZString operator=.

This commit is contained in:
Brad Arant committed 2023-10-08 07:26:26 -07:00
1 parent 61d9f8015e
commit 7b333a3984
5 files changed
+19 -5

No files matched your search

+9 -1
View File
@@ -57,7 +57,15 @@ int main(int argc, char **argv) {
std::cout << ">" << test10 << "<" << std::endl;
test10 = "";
std::cout << ">" << test10 << "<" << std::endl;
// Assign from ZString tests.
coreutils::ZString test20("This is a zstring");
coreutils::MString test21;
test21 = test20;
std::cout << "mstring = zstring: [" << test21 << "]" << std::endl;
return 0;
}