[libcxx] r254287 - Fix bad macros
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 29 21:10:11 PST 2015
Author: marshall
Date: Sun Nov 29 23:10:10 2015
New Revision: 254287
URL: http://llvm.org/viewvc/llvm-project?rev=254287&view=rev
Log:
Fix bad macros
Modified:
libcxx/trunk/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
Modified: libcxx/trunk/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp?rev=254287&r1=254286&r2=254287&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary.prop.query/alignment_of.pass.cpp Sun Nov 29 23:10:10 2015
@@ -23,7 +23,7 @@ void test_alignment_of()
static_assert( std::alignment_of<const T>::value == A, "");
static_assert( std::alignment_of<volatile T>::value == A, "");
static_assert( std::alignment_of<const volatile T>::value == A, "");
-#if TEST_STD_VERS > 14
+#if TEST_STD_VER > 14
static_assert( std::alignment_of_v<T> == A, "");
static_assert( std::alignment_of_v<const T> == A, "");
static_assert( std::alignment_of_v<volatile T> == A, "");
More information about the cfe-commits
mailing list