From 8f500a6f9ca0e56e41513435d0257c84ddabb566 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 5 Jun 2019 21:54:34 +0000 Subject: [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 --- libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp') diff --git a/libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp b/libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp index 4b0ae15c352..d8711c76366 100644 --- a/libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp +++ b/libcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp @@ -27,6 +27,7 @@ // variant&& v); #include "test_macros.h" +#include "test_workarounds.h" #include "variant_test_helpers.hpp" #include #include -- cgit v1.2.3