forked from OSchip/llvm-project
Add another append test for basic_string
llvm-svn: 283331
This commit is contained in:
parent
11a4237b23
commit
67be6ff839
|
@ -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