Author: marshall
Date: Tue Mar  4 16:44:34 2014
New Revision: 202904

URL: http://llvm.org/viewvc/llvm-project?rev=202904&view=rev
Log:
LWG Issue #2271: regex_traits::lookup_classname specification unclear. libc++ 
already does the right thing; just update the tests.

Modified:
    libcxx/trunk/test/re/re.traits/lookup_classname.pass.cpp

Modified: libcxx/trunk/test/re/re.traits/lookup_classname.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/re/re.traits/lookup_classname.pass.cpp?rev=202904&r1=202903&r2=202904&view=diff
==============================================================================
--- libcxx/trunk/test/re/re.traits/lookup_classname.pass.cpp (original)
+++ libcxx/trunk/test/re/re.traits/lookup_classname.pass.cpp Tue Mar  4 
16:44:34 2014
@@ -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());
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to