mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-27 03:48:33 +00:00
Suppress unreachable code warning in unwind tests
llvm-svn: 290487
This commit is contained in:
parent
dee07a6a9f
commit
47570b8d2c
@ -11,6 +11,10 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#endif
|
||||
|
||||
struct A
|
||||
{
|
||||
static int count;
|
||||
|
@ -11,6 +11,10 @@
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#endif
|
||||
|
||||
struct A
|
||||
{
|
||||
static int count;
|
||||
|
@ -13,6 +13,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#endif
|
||||
|
||||
struct A
|
||||
{
|
||||
static int count;
|
||||
|
@ -13,6 +13,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#endif
|
||||
|
||||
struct A
|
||||
{
|
||||
static int count;
|
||||
|
@ -13,6 +13,10 @@
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic ignored "-Wunreachable-code"
|
||||
#endif
|
||||
|
||||
struct A
|
||||
{
|
||||
static int count;
|
||||
|
Loading…
x
Reference in New Issue
Block a user