summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/scope-check.c
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2010-01-23 20:12:18 +0000
committerMike Stump <mrs@apple.com>2010-01-23 20:12:18 +0000
commit0978af83b389b38edf3e57e2379415c7a31597a6 (patch)
tree0a26680ea18de74f37bb829a0284019cc9209c42 /clang/test/Sema/scope-check.c
parentd0849254deaf68fa4353b711eebfa207335ddbb2 (diff)
downloadbcm5719-llvm-0978af83b389b38edf3e57e2379415c7a31597a6.tar.gz
bcm5719-llvm-0978af83b389b38edf3e57e2379415c7a31597a6.zip
Insulate these from changes to the default for -Wunreachable-code.
llvm-svn: 94326
Diffstat (limited to 'clang/test/Sema/scope-check.c')
-rw-r--r--clang/test/Sema/scope-check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/scope-check.c b/clang/test/Sema/scope-check.c
index 74bc7c46f8f..7d293f2747e 100644
--- a/clang/test/Sema/scope-check.c
+++ b/clang/test/Sema/scope-check.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=gnu99 %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fblocks -std=gnu99 %s -Wno-unreachable-code
int test1(int x) {
goto L; // expected-error{{illegal goto into protected scope}}
OpenPOWER on IntegriCloud