summaryrefslogtreecommitdiff
path: root/test/unwind_02.pass.cpp
diff options
context:
space:
mode:
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;