diff options
Diffstat (limited to 'libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp')
-rw-r--r-- | libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp b/libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp index d8cc1f0f616..f1a5554b433 100644 --- a/libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp +++ b/libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp @@ -18,12 +18,14 @@ // regex_constants::match_flag_type = // regex_constants::match_default) = delete; -// XFAIL: C++98, c++03, c++11 - #include <regex> #include <cassert> #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { |