From 09e56c159882b65986b4057a14e5a5672d3deca9 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 15 Nov 2018 00:27:06 +0000 Subject: [PATCH] Work around C++03 decltype limitations git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@346917 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../depr.function.objects/depr.adaptors.cxx1z.pass.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp b/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp index 7967e76d9..beb560800 100644 --- a/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp +++ b/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp @@ -37,10 +37,10 @@ int main() typedef std::pointer_to_binary_function PBF; static_assert( - (std::is_same(identity))>::value), + (std::is_same(identity)))>::value), ""); static_assert( - (std::is_same(sum))>::value), + (std::is_same(sum)))>::value), ""); assert((std::ptr_fun(identity)(4) == 4)); @@ -54,9 +54,9 @@ int main() typedef std::const_mem_fun_ref_t CMFR; static_assert( - (std::is_same::value), ""); - static_assert((std::is_same::value), + (std::is_same::value), ""); + static_assert((std::is_same::value), ""); assert((std::mem_fun_ref(&Foo::zero)(f) == 0));