Suppress warnings about the operations currently under test.

git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@272819 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/inherited_exception.pass.cpp b/test/inherited_exception.pass.cpp
index 763e26a..993c83c 100644
--- a/test/inherited_exception.pass.cpp
+++ b/test/inherited_exception.pass.cpp
@@ -27,6 +27,13 @@
 
 // UNSUPPORTED: libcxxabi-no-exceptions
 
+// Clang emits  warnings about exceptions of type 'Child' being caught by
+// an earlier handler of type 'Base'. Congrats clang, you've just
+// diagnosed the behavior under test.
+#if defined(__clang__)
+#pragma clang diagnostic ignored "-Wexceptions"
+#endif
+
 #include <assert.h>
 
 struct Base {