From ec1d3f7e2de2cc57f6aaac1329e1a11d6980cf39 Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 23 Jan 2017 18:00:15 +0000 Subject: [PATCH] Revert previous cleanup; I got too agressive removing #ifdefs git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292809 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp b/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp index ed443b163..c4c3c242d 100644 --- a/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp +++ b/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp @@ -31,6 +31,7 @@ int main() assert(i == 42); assert(s == "C++"); } +#if TEST_STD_VER > 11 { static constexpr int i = 42; static constexpr double f = 1.1; @@ -38,4 +39,5 @@ int main() static_assert ( std::get<0>(t) == 42, "" ); static_assert ( std::get<1>(t) == 1.1, "" ); } +#endif }