blob: e88a14957d31e6162959ae31394b6828f50785e4 [file] [log] [blame]
Eric Fiselier9506f142017-03-22 22:41:41 +00001// -*- C++ -*-
Eric Fiselier351d2c32017-03-23 00:48:59 +00002//===----------------------------------------------------------------------===//
Eric Fiselier9506f142017-03-22 22:41:41 +00003//
4// The LLVM Compiler Infrastructure
5//
6// This file is dual licensed under the MIT and the University of Illinois Open
7// Source Licenses. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef SUPPORT_TEST_WORKAROUNDS_H
12#define SUPPORT_TEST_WORKAROUNDS_H
13
14#include "test_macros.h"
15
Casey Carter768a93f2017-05-10 19:10:49 +000016#if defined(TEST_COMPILER_EDG)
Casey Carterb4f39242017-05-25 17:42:21 +000017# define TEST_WORKAROUND_EDG_EXPLICIT_CONSTEXPR // VSO#424280
Casey Carter768a93f2017-05-10 19:10:49 +000018#endif
19
Eric Fiselier9506f142017-03-22 22:41:41 +000020#if defined(TEST_COMPILER_C1XX)
Casey Carterb4f39242017-05-25 17:42:21 +000021# define TEST_WORKAROUND_C1XX_BROKEN_IS_TRIVIALLY_COPYABLE // VSO#117743
Casey Carter768a93f2017-05-10 19:10:49 +000022# ifndef _MSC_EXTENSIONS
Casey Carterb4f39242017-05-25 17:42:21 +000023# define TEST_WORKAROUND_C1XX_BROKEN_ZA_CTOR_CHECK // VSO#119998
Casey Carter768a93f2017-05-10 19:10:49 +000024# endif
Eric Fiselier9506f142017-03-22 22:41:41 +000025#endif
26
Eric Fiselier9506f142017-03-22 22:41:41 +000027#endif // SUPPORT_TEST_WORKAROUNDS_H