forked from OSchip/llvm-project
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
This commit is contained in:
parent
382d355359
commit
8dc9dcaeac
|
@ -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()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -17,12 +17,14 @@
|
|||
// regex_constants::match_flag_type m =
|
||||
// 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()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -18,13 +18,15 @@
|
|||
// regex_constants::match_flag_type m =
|
||||
// regex_constants::match_default);
|
||||
|
||||
// XFAIL: C++98, c++03, c++11
|
||||
|
||||
#include <regex>
|
||||
#include <vector>
|
||||
#include <cassert>
|
||||
#include "test_macros.h"
|
||||
|
||||
#if TEST_STD_VER < 14
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -17,12 +17,14 @@
|
|||
// regex_constants::match_flag_type m =
|
||||
// regex_constants::match_default);
|
||||
|
||||
// XFAIL: C++98, c++03, c++11
|
||||
|
||||
#include <regex>
|
||||
#include <cassert>
|
||||
#include "test_macros.h"
|
||||
|
||||
#if TEST_STD_VER < 14
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -16,12 +16,14 @@
|
|||
// regex_constants::match_flag_type m =
|
||||
// regex_constants::match_default);
|
||||
|
||||
// XFAIL: C++98, c++03, c++11
|
||||
|
||||
#include <regex>
|
||||
#include <cassert>
|
||||
#include "test_macros.h"
|
||||
|
||||
#if TEST_STD_VER < 14
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
|
|
@ -18,12 +18,14 @@
|
|||
// regex_constants::match_flag_type m =
|
||||
// regex_constants::match_default);
|
||||
|
||||
// XFAIL: C++98, c++03, c++11
|
||||
|
||||
#include <regex>
|
||||
#include <cassert>
|
||||
#include "test_macros.h"
|
||||
|
||||
#if TEST_STD_VER < 14
|
||||
#error
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue