diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-15 19:07:19 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-15 19:07:19 +0000 |
commit | df448d87f13d2e02602666c0819ab235818d9b12 (patch) | |
tree | b72abd23867b53f5538cd02ac5c3942fec81ee2f /test/catch_class_04.pass.cpp | |
parent | 6fd0d958b55fbbefeb5e1fb78cdc086eddb92a43 (diff) |
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
Diffstat (limited to 'test/catch_class_04.pass.cpp')
-rw-r--r-- | test/catch_class_04.pass.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/catch_class_04.pass.cpp b/test/catch_class_04.pass.cpp index 444b1de..b1aafd5 100644 --- a/test/catch_class_04.pass.cpp +++ b/test/catch_class_04.pass.cpp @@ -19,6 +19,13 @@ #include <stdlib.h> #include <assert.h> +// 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 + struct B { static int count; |