diff options
Diffstat (limited to 'libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp b/libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp index 1cbdfa4ff39..ddc2ab2855c 100644 --- a/libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp +++ b/libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp @@ -14,6 +14,10 @@ #include <array> #include <cassert> +#include "test_macros.h" + +#include "../suppress_array_warnings.h" + int main() { { @@ -24,7 +28,7 @@ int main() assert(std::get<1>(c) == 2); assert(std::get<2>(c) == 3.5); } -#if _LIBCPP_STD_VER > 11 +#if TEST_STD_VER > 11 { typedef double T; typedef std::array<T, 3> C; |