Avoid octal escape sequence warning with MSVC. Patch from STL@microsoft.com

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272639 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-14 05:47:46 +00:00
parent 10d7856f8f
commit e443672b05
2 changed files with 3 additions and 3 deletions

View File

@@ -25,5 +25,5 @@ int main()
assert(std::regex_match("\4", std::regex("\\4", awk)));
assert(std::regex_match("\41", std::regex("\\41", awk)));
assert(std::regex_match("\141", std::regex("\\141", awk)));
assert(std::regex_match("\1411", std::regex("\\1411", awk)));
assert(std::regex_match("\141" "1", std::regex("\\1411", awk)));
}