You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/std/re/re.const
Louis Dionne 6513d1f464 [libc++] Relax libc++-only test on regex_constants
The standard requires the following for the std::regex_constants::error_type
values: "The type error_type is an implementation-defined enumerated type."

The values of this enumerated type are not required to be non-zero.
This patch makes such checks in tests libc++-specific to let the tests
pass for other conforming implementations.

Thanks to Andrey Maksimov for the patch.
Differential Revision: https://reviews.llvm.org/D61195

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@359320 91177308-0d34-0410-b5e6-96231b3b80d8
6 years ago
..
re.err [libc++] Relax libc++-only test on regex_constants 6 years ago
re.matchflag Support tests in freestanding 6 years ago
re.synopt 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. 6 years ago
nothing_to_do.pass.cpp Support tests in freestanding 6 years ago