Missed one comparison test in r225375
authorMarshall Clow <mclow.lists@gmail.com>
Wed, 7 Jan 2015 20:40:28 +0000 (20:40 +0000)
committerMarshall Clow <mclow.lists@gmail.com>
Wed, 7 Jan 2015 20:40:28 +0000 (20:40 +0000)
llvm-svn: 225376

libcxx/test/std/utilities/function.objects/comparisons/less.pass.cpp

index 99cdd12..74fe166 100644 (file)
@@ -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));