diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2016-04-26 19:29:35 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2016-04-26 19:29:35 +0000 |
commit | 8dc9dcaeaccd3be047740b1f19c4beee33b0f44e (patch) | |
tree | 4580cd91c892da25a9cc4824d69c83483ee19770 /libcxx/test/std/re/re.alg/re.alg.match/basic.fail.cpp | |
parent | 382d355359c879472eaaf49e389f848fcf69003b (diff) | |
download | bcm5719-llvm-8dc9dcaeaccd3be047740b1f19c4beee33b0f44e.tar.gz bcm5719-llvm-8dc9dcaeaccd3be047740b1f19c4beee33b0f44e.zip |
Apparently XFAIL tests that are supposed to fail to compile can be problematic. They still get compiled, and if the compile succeeds, the buildbots complain. Replace the XFAIL with #error.
llvm-svn: 267591
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() { { |