[libcxx] r292809 - Revert previous cleanup; I got too agressive removing #ifdefs

Marshall Clow via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 23 10:00:15 PST 2017


Author: marshall
Date: Mon Jan 23 12:00:15 2017
New Revision: 292809

URL: http://llvm.org/viewvc/llvm-project?rev=292809&view=rev
Log:
Revert previous cleanup; I got too agressive removing #ifdefs

Modified:
    libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp

Modified: libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp?rev=292809&r1=292808&r2=292809&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/tuple/tuple.tuple/tuple.creation/tie.pass.cpp Mon Jan 23 12:00:15 2017
@@ -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
 }




More information about the cfe-commits mailing list