mirror of
https://github.com/darlinghq/darling-libcxx.git
synced 2024-11-30 23:30:34 +00:00
Add another append test for basic_string
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283331 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f257c26ec7
commit
6f5d5948ef
@ -164,6 +164,10 @@ int main()
|
||||
sv = s;
|
||||
s.append(sv, 0, std::string::npos);
|
||||
assert(s == "ABCDABCDABCDABCD");
|
||||
|
||||
sv = s;
|
||||
s.append(sv, sv.size());
|
||||
assert(s == "ABCDABCDABCDABCD");
|
||||
}
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user