[libcxx] r225376 - Missed one comparison test in r225375
Marshall Clow
mclow.lists at gmail.com
Wed Jan 7 12:40:28 PST 2015
Author: marshall
Date: Wed Jan 7 14:40:28 2015
New Revision: 225376
URL: http://llvm.org/viewvc/llvm-project?rev=225376&view=rev
Log:
Missed one comparison test in r225375
Modified:
libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp
Modified: libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp?rev=225376&r1=225375&r2=225376&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/function.objects/comparisons/less.pass.cpp Wed Jan 7 14:40:28 2015
@@ -19,7 +19,9 @@ int main()
{
typedef std::less<int> F;
const F f = F();
- static_assert((std::is_base_of<std::binary_function<int, int, bool>, F>::value), "");
+ static_assert((std::is_same<int, F::first_argument_type>::value), "" );
+ static_assert((std::is_same<int, F::second_argument_type>::value), "" );
+ static_assert((std::is_same<bool, F::result_type>::value), "" );
assert(!f(36, 36));
assert(!f(36, 6));
assert(f(6, 36));
More information about the cfe-commits
mailing list