diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-12-24 05:01:55 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-12-24 05:01:55 +0000 |
commit | a3f4893c54ebd8662b1a8f079fa31beabeb54b90 (patch) | |
tree | 2ba155f709031eeca3f561699464926d83eb94a4 /test/unwind_02.pass.cpp | |
parent | 08bf03cf8ca8a4f55644956aec77677b3f0cf232 (diff) |
Suppress unreachable code warning in unwind tests
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@290487 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/unwind_02.pass.cpp')
-rw-r--r-- | test/unwind_02.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unwind_02.pass.cpp b/test/unwind_02.pass.cpp index 90dc25a..fbcc232 100644 --- a/test/unwind_02.pass.cpp +++ b/test/unwind_02.pass.cpp @@ -11,6 +11,10 @@ #include <assert.h> +#if defined(__GNUC__) +#pragma GCC diagnostic ignored "-Wunreachable-code" +#endif + struct A { static int count; |