From 2decfad7c5df07030c27e70b98ca9feada760d3c Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 18 Jul 2015 23:56:04 +0000 Subject: Fix warnings in array and assoc containers llvm-svn: 242629 --- .../std/containers/sequences/array/array.tuple/get_const.pass.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libcxx/test/std/containers/sequences/array/array.tuple/get_const.pass.cpp') 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 #include +#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 C; -- cgit v1.2.3