mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
Fix PR#35967: '<regex> syntax_option_type is not a proper bitmask' Sadly, this is an ABI break, so it's only available if you define either '_LIBCPP_ABI_VERSION > 2' or '_LIBCPP_ABI_UNSTABLE' or '_LIBCPP_ABI_REGEX_CONSTANTS_NONZERO' and rebuild your dylib.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@357190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,7 +21,7 @@ void
|
||||
test()
|
||||
{
|
||||
std::basic_regex<CharT> r;
|
||||
assert(r.flags() == 0);
|
||||
assert(r.flags() == std::regex_constants::ECMAScript);
|
||||
assert(r.mark_count() == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user