mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-28 23:41:20 +00:00
Add another append test for basic_string
llvm-svn: 283331
This commit is contained in:
1 parent
11a4237b23
commit
67be6ff839
1 file changed
+4
+4
@@ -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");
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user