diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-05-25 04:36:24 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-05-25 04:36:24 +0000 |
commit | 737c3bf25ec897ec6e461644ef3658a52798e2ff (patch) | |
tree | 3902c3d86306bc86647e7b4df99c5db087408729 /test/support | |
parent | 8392d4940d7b419ecda0334564368aa9b6a7475e (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.h | 6 |
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(...) |