forked from OSchip/llvm-project
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…
Reference in New Issue