From bc82a381be9e83dbe081dd0438b258aba4ba37de Mon Sep 17 00:00:00 2001
From: Enji Cooper <ngie@FreeBSD.org>
Date: Tue, 25 Jul 2017 03:56:42 +0000
Subject: [PATCH] Mark :reduction as an expected failure

It fails with clang 5.0+.

PR:	220989
MFC after:	2 months
MFC with:	r321369
Reported by:	Jenkins
---
 lib/msun/tests/trig_test.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/msun/tests/trig_test.c b/lib/msun/tests/trig_test.c
index a7ed2fef276e..ad697606a239 100644
--- a/lib/msun/tests/trig_test.c
+++ b/lib/msun/tests/trig_test.c
@@ -162,6 +162,11 @@ ATF_TC_BODY(reduction, tc)
 	};
 #endif
 
+#if defined(__clang__) && \
+	((__clang_major__ >= 5))
+	atf_tc_expect_fail("test fails with clang 5.0+ - bug 220989");
+#endif
+
 	unsigned i;
 
 	for (i = 0; i < nitems(f_pi_odd); i++) {