summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-05-25 04:36:24 +0000
committerEric Fiselier <eric@efcs.ca>2017-05-25 04:36:24 +0000
commit737c3bf25ec897ec6e461644ef3658a52798e2ff (patch)
tree3902c3d86306bc86647e7b4df99c5db087408729 /test/support
parent8392d4940d7b419ecda0334564368aa9b6a7475e (diff)
Add <experimental/coroutine>
This patch adds the library portions of the coroutines PDTS, which should now be supported by Clang. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@303836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/support')
-rw-r--r--test/support/test_macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/support/test_macros.h b/test/support/test_macros.h
index 6b573d40f..637686284 100644
--- a/test/support/test_macros.h
+++ b/test/support/test_macros.h
@@ -154,6 +154,12 @@
#define TEST_NORETURN [[noreturn]]
#endif
+#if defined(_LIBCPP_SAFE_STATIC)
+#define TEST_SAFE_STATIC _LIBCPP_SAFE_STATIC
+#else
+#define TEST_SAFE_STATIC
+#endif
+
#if TEST_STD_VER < 11
#define ASSERT_NOEXCEPT(...)
#define ASSERT_NOT_NOEXCEPT(...)