summaryrefslogtreecommitdiffstats
path: root/test/Sema/return-noreturn.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/return-noreturn.c')
-rw-r--r--test/Sema/return-noreturn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/return-noreturn.c b/test/Sema/return-noreturn.c
index 198ab11..ff43754 100644
--- a/test/Sema/return-noreturn.c
+++ b/test/Sema/return-noreturn.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wmissing-noreturn
+// RUN: %clang_cc1 %s -fsyntax-only -verify -fblocks -Wmissing-noreturn -Wno-unreachable-code
int j;
void test1() { // expected-warning {{function could be attribute 'noreturn'}}
OpenPOWER on IntegriCloud