From d697ee41bc77a1fb89daf718f5986f91b0f881e6 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 2 Jun 2016 03:12:44 +0000 Subject: Mark LWG issue 2450 as complete. llvm-svn: 271473 --- .../function.objects/comparisons/greater_equal.pass.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp') diff --git a/libcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp b/libcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp index e89c14e2462..0aacb81e9cb 100644 --- a/libcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp @@ -15,6 +15,9 @@ #include #include +#include "test_macros.h" +#include "pointer_comparison_test_helper.hpp" + int main() { typedef std::greater_equal F; @@ -25,7 +28,12 @@ int main() assert(f(36, 36)); assert(f(36, 6)); assert(!f(6, 36)); -#if _LIBCPP_STD_VER > 11 + { + // test total ordering of int* for greater_equal and + // greater_equal. + do_pointer_comparison_test(); + } +#if TEST_STD_VER > 11 typedef std::greater_equal<> F2; const F2 f2 = F2(); assert(f2(36, 36)); -- cgit v1.2.3