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:
Marshall Clow 2016-04-26 19:29:35 +00:00
parent 382d355359
commit 8dc9dcaeac
7 changed files with 28 additions and 14 deletions

View File

@ -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()
{
{

View File

@ -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()
{
{

View File

@ -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()
{
{

View File

@ -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()
{
{

View File

@ -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()
{
{

View File

@ -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()
{
{

View File

@ -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()
{
{