summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-12-16 00:45:47 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-12-16 00:45:47 +0000
commit8a389a578671685ba27d0ae0dfaf939447e990fa (patch)
treeca85ef22996c17963ece55a89583acbf0c07d56e /libcxx/test
parent470a231b7c314542788ad1fbb03f0b3268f23647 (diff)
downloadbcm5719-llvm-8a389a578671685ba27d0ae0dfaf939447e990fa.tar.gz
bcm5719-llvm-8a389a578671685ba27d0ae0dfaf939447e990fa.zip
Fix the literal string that I said would be six elements long to actually be six elements long. Octal. Sheesh.
llvm-svn: 224297
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/re/re.submatch/re.submatch.op/compare.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/re/re.submatch/re.submatch.op/compare.pass.cpp b/libcxx/test/re/re.submatch/re.submatch.op/compare.pass.cpp
index 3a500d37b02..4fe317ac1e5 100644
--- a/libcxx/test/re/re.submatch/re.submatch.op/compare.pass.cpp
+++ b/libcxx/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);
}
OpenPOWER on IntegriCloud