Added assignment to MString from ZString operator=.
This commit is contained in:
1 parent
61d9f8015e
commit
7b333a3984
5 files changed
+19
-5
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user