From cde7ca0a97e2072b70362d5648c2a9f5edb21ca8 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Tue, 16 Dec 2014 00:45:47 +0000 Subject: [PATCH] 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 --- test/re/re.submatch/re.submatch.op/compare.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/re/re.submatch/re.submatch.op/compare.pass.cpp b/test/re/re.submatch/re.submatch.op/compare.pass.cpp index 3a500d37..4fe317ac 100644 --- a/test/re/re.submatch/re.submatch.op/compare.pass.cpp +++ b/test/re/re.submatch/re.submatch.op/compare.pass.cpp @@ -282,6 +282,6 @@ int main() test(std::string("1234"), std::string("123")); test(std::wstring(L"123"), 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::wstring(L"123\056", 6), std::wstring(L"123\056", 6), false); + test(std::string("1234\00056", 6), std::string("123\056", 6), false); + test(std::wstring(L"123\00056", 6), std::wstring(L"123\056", 6), false); }