Add another append test for basic_string

llvm-svn: 283331
This commit is contained in:
Marshall Clow 2016-10-05 15:47:13 +00:00
parent 11a4237b23
commit 67be6ff839
1 changed files with 4 additions and 0 deletions

View File

@ -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");
}
{