summaryrefslogtreecommitdiffstats
path: root/libcxx/test
diff options
context:
space:
mode:
authorMarshall Clow <mclow.lists@gmail.com>2014-03-04 22:44:34 +0000
committerMarshall Clow <mclow.lists@gmail.com>2014-03-04 22:44:34 +0000
commit7f10fc480af15fa008381f83f6c1b78c5bfd12a3 (patch)
tree0864e831b9854a01120ccb9877ba575695217283 /libcxx/test
parenta6f8ca8c5f62a79d319a00a4cb4b8bee6ddebc84 (diff)
downloadbcm5719-llvm-7f10fc480af15fa008381f83f6c1b78c5bfd12a3.tar.gz
bcm5719-llvm-7f10fc480af15fa008381f83f6c1b78c5bfd12a3.zip
LWG Issue #2271: regex_traits::lookup_classname specification unclear. libc++ already does the right thing; just update the tests.
llvm-svn: 202904
Diffstat (limited to 'libcxx/test')
-rw-r--r--libcxx/test/re/re.traits/lookup_classname.pass.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/test/re/re.traits/lookup_classname.pass.cpp b/libcxx/test/re/re.traits/lookup_classname.pass.cpp
index 6819fb4f3e7..75c088858b4 100644
--- a/libcxx/test/re/re.traits/lookup_classname.pass.cpp
+++ b/libcxx/test/re/re.traits/lookup_classname.pass.cpp
@@ -115,9 +115,9 @@ int main()
test("xdigit", std::ctype_base::xdigit, true);
test("Xdigit", std::ctype_base::xdigit, true);
- test("dig", 0);
- test("", 0);
- test("digits", 0);
+ test("dig", std::ctype_base::mask());
+ test("", std::ctype_base::mask());
+ test("digits", std::ctype_base::mask());
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"dig", 0);
- test(L"", 0);
- test(L"digits", 0);
+ test(L"dig", std::ctype_base::mask());
+ test(L"", std::ctype_base::mask());
+ test(L"digits", std::ctype_base::mask());
}
OpenPOWER on IntegriCloud