LWG Issue #2271: regex_traits::lookup_classname specification unclear. libc++ already does the right thing; just update the tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@202904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2014-03-04 22:44:34 +00:00
parent cbb9305c26
commit 8d4ce30c79

View File

@@ -115,9 +115,9 @@ int main()
test("xdigit", std::ctype_base::xdigit, true); test("xdigit", std::ctype_base::xdigit, true);
test("Xdigit", std::ctype_base::xdigit, true); test("Xdigit", std::ctype_base::xdigit, true);
test("dig", 0); test("dig", std::ctype_base::mask());
test("", 0); test("", std::ctype_base::mask());
test("digits", 0); test("digits", std::ctype_base::mask());
test(L"d", std::ctype_base::digit); test(L"d", std::ctype_base::digit);
test(L"D", std::ctype_base::digit); test(L"D", std::ctype_base::digit);
@@ -203,7 +203,7 @@ int main()
test(L"xdigit", std::ctype_base::xdigit, true); test(L"xdigit", std::ctype_base::xdigit, true);
test(L"Xdigit", std::ctype_base::xdigit, true); test(L"Xdigit", std::ctype_base::xdigit, true);
test(L"dig", 0); test(L"dig", std::ctype_base::mask());
test(L"", 0); test(L"", std::ctype_base::mask());
test(L"digits", 0); test(L"digits", std::ctype_base::mask());
} }