diff --git a/test/std/re/re.alg/re.alg.match/basic.fail.cpp b/test/std/re/re.alg/re.alg.match/basic.fail.cpp index d8cc1f0f6..f1a5554b4 100644 --- a/test/std/re/re.alg/re.alg.match/basic.fail.cpp +++ b/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 #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.alg/re.alg.search/basic.fail.cpp b/test/std/re/re.alg/re.alg.search/basic.fail.cpp index e060d2945..c6b2b4116 100644 --- a/test/std/re/re.alg/re.alg.search/basic.fail.cpp +++ b/test/std/re/re.alg/re.alg.search/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 #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp b/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp index 109aa87cc..0089362e5 100644 --- a/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp +++ b/test/std/re/re.iter/re.regiter/re.regiter.cnstr/cnstr.fail.cpp @@ -17,12 +17,14 @@ // regex_constants::match_flag_type m = // regex_constants::match_default) = delete; -// XFAIL: C++98, c++03, c++11 - #include #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp index de581353e..8f90b2390 100644 --- a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp +++ b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/array.fail.cpp @@ -18,13 +18,15 @@ // regex_constants::match_flag_type m = // regex_constants::match_default); -// XFAIL: C++98, c++03, c++11 - #include #include #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp index e8b9adbc8..9d538730e 100644 --- a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp +++ b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/init.fail.cpp @@ -17,12 +17,14 @@ // regex_constants::match_flag_type m = // regex_constants::match_default); -// XFAIL: C++98, c++03, c++11 - #include #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp index b9fda701c..f4601f3ed 100644 --- a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp +++ b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/int.fail.cpp @@ -16,12 +16,14 @@ // regex_constants::match_flag_type m = // regex_constants::match_default); -// XFAIL: C++98, c++03, c++11 - #include #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { { diff --git a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp index 532cbb15a..d5d5f4c63 100644 --- a/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp +++ b/test/std/re/re.iter/re.tokiter/re.tokiter.cnstr/vector.fail.cpp @@ -18,12 +18,14 @@ // regex_constants::match_flag_type m = // regex_constants::match_default); -// XFAIL: C++98, c++03, c++11 - #include #include #include "test_macros.h" +#if TEST_STD_VER < 14 +#error +#endif + int main() { {