Fix the literal string that I said would be six elements long to actually be six elements long. Octal. Sheesh.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@224297 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab3c50593c
commit
cde7ca0a97
@ -282,6 +282,6 @@ int main()
|
|||||||
test(std::string("1234"), std::string("123"));
|
test(std::string("1234"), std::string("123"));
|
||||||
test(std::wstring(L"123"), std::wstring(L"123"));
|
test(std::wstring(L"123"), std::wstring(L"123"));
|
||||||
test(std::wstring(L"1234"), std::wstring(L"123"));
|
test(std::wstring(L"1234"), std::wstring(L"123"));
|
||||||
test(std::string("123\056", 6), std::string("123\056", 6), false);
|
test(std::string("1234\00056", 6), std::string("123\056", 6), false);
|
||||||
test(std::wstring(L"123\056", 6), std::wstring(L"123\056", 6), false);
|
test(std::wstring(L"123\00056", 6), std::wstring(L"123\056", 6), false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user