#include <test_macros.h> in all the regex tests, and remove all mentions of __cpluplus (use TEST_STD_VERS and/or XFAIL instead). No functional change

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267567 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2016-04-26 16:24:44 +00:00
parent d7f1f971d1
commit 6dfff1c9b9
140 changed files with 149 additions and 31 deletions

View File

@@ -18,12 +18,11 @@
// regex_constants::match_flag_type =
// regex_constants::match_default) = delete;
#if __cplusplus <= 201402L
#error
#else
// XFAIL: C++98, c++03, c++11
#include <regex>
#include <cassert>
#include "test_macros.h"
int main()
{
@@ -33,4 +32,3 @@ int main()
std::regex_search(std::string("abcde"), m, re);
}
}
#endif