mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
#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:
@@ -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
|
||||
|
Reference in New Issue
Block a user