mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 20:29:39 +08:00
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.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@267591 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,12 +18,14 @@
|
|||||||
// regex_constants::match_flag_type =
|
// regex_constants::match_flag_type =
|
||||||
// regex_constants::match_default) = delete;
|
// regex_constants::match_default) = delete;
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,12 +18,14 @@
|
|||||||
// regex_constants::match_flag_type =
|
// regex_constants::match_flag_type =
|
||||||
// regex_constants::match_default) = delete;
|
// regex_constants::match_default) = delete;
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,12 +17,14 @@
|
|||||||
// regex_constants::match_flag_type m =
|
// regex_constants::match_flag_type m =
|
||||||
// regex_constants::match_default) = delete;
|
// regex_constants::match_default) = delete;
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,13 +18,15 @@
|
|||||||
// regex_constants::match_flag_type m =
|
// regex_constants::match_flag_type m =
|
||||||
// regex_constants::match_default);
|
// regex_constants::match_default);
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -17,12 +17,14 @@
|
|||||||
// regex_constants::match_flag_type m =
|
// regex_constants::match_flag_type m =
|
||||||
// regex_constants::match_default);
|
// regex_constants::match_default);
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,12 +16,14 @@
|
|||||||
// regex_constants::match_flag_type m =
|
// regex_constants::match_flag_type m =
|
||||||
// regex_constants::match_default);
|
// regex_constants::match_default);
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -18,12 +18,14 @@
|
|||||||
// regex_constants::match_flag_type m =
|
// regex_constants::match_flag_type m =
|
||||||
// regex_constants::match_default);
|
// regex_constants::match_default);
|
||||||
|
|
||||||
// XFAIL: C++98, c++03, c++11
|
|
||||||
|
|
||||||
#include <regex>
|
#include <regex>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "test_macros.h"
|
#include "test_macros.h"
|
||||||
|
|
||||||
|
#if TEST_STD_VER < 14
|
||||||
|
#error
|
||||||
|
#endif
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user