summaryrefslogtreecommitdiff
path: root/test/unwind_02.pass.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-12-24 05:01:55 +0000
committerEric Fiselier <eric@efcs.ca>2016-12-24 05:01:55 +0000
commita3f4893c54ebd8662b1a8f079fa31beabeb54b90 (patch)
tree2ba155f709031eeca3f561699464926d83eb94a4 /test/unwind_02.pass.cpp
parent08bf03cf8ca8a4f55644956aec77677b3f0cf232 (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.cpp4
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;