[libcxx][test] Include test_workarounds.h where needed

Some tests require `TEST_WORKAROUND_CONSTEXPR_IMPLIES_NOEXCEPT`, but they
did not include the header that defines that macro.

Thanks to Michael Park for the patch.

Differential Revision: https://reviews.llvm.org/D62920

llvm-svn: 362660
This commit is contained in:
Louis Dionne 2019-06-05 21:54:34 +00:00
parent 5347024e28
commit 8f500a6f9c
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@
// variant<Types...>&& v);
#include "test_macros.h"
#include "test_workarounds.h"
#include "variant_test_helpers.hpp"
#include <cassert>
#include <type_traits>

View File

@ -21,6 +21,7 @@
// variant<Types...>&& v);
#include "test_macros.h"
#include "test_workarounds.h"
#include "variant_test_helpers.hpp"
#include <cassert>
#include <type_traits>