aboutsummaryrefslogtreecommitdiff
path: root/test/support/test_workarounds.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/test_workarounds.h')
-rw-r--r--test/support/test_workarounds.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/support/test_workarounds.h b/test/support/test_workarounds.h
new file mode 100644
index 000000000000..affdd1025943
--- /dev/null
+++ b/test/support/test_workarounds.h
@@ -0,0 +1,20 @@
+// -*- C++ -*-
+//===----------------------------------------------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef SUPPORT_TEST_WORKAROUNDS_H
+#define SUPPORT_TEST_WORKAROUNDS_H
+
+#include "test_macros.h"
+
+#if defined(TEST_COMPILER_C1XX)
+# define TEST_WORKAROUND_C1XX_BROKEN_NULLPTR_CONVERSION_OPERATOR
+#endif
+
+#endif // SUPPORT_TEST_WORKAROUNDS_H