123
This commit is contained in:
9
STLPORT/test/regression/strass1.cpp
Normal file
9
STLPORT/test/regression/strass1.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <string>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::string str1 = "string";
|
||||
std::string str2;
|
||||
str2.assign(str1.begin(), str1.begin() + 3);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user