summaryrefslogtreecommitdiff
path: root/test/Sema/compare.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
commit46171917dc87caf0c7a741a7301f36db2e20b132 (patch)
tree17534e5c0bdd4ca58803c7bae2b8848ca199893d /test/Sema/compare.c
parent46f4659f9d012ca2e2050c1fc39a59666114b3f9 (diff)
downloadclang-46171917dc87caf0c7a741a7301f36db2e20b132.tar.gz
Insulate these from changes to the default for -Wunreachable-code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/compare.c')
-rw-r--r--test/Sema/compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/compare.c b/test/Sema/compare.c
index 579c3e5d6b..2821a935c3 100644
--- a/test/Sema/compare.c
+++ b/test/Sema/compare.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s
+// RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -pedantic -verify -Wsign-compare %s -Wno-unreachable-code
int test(char *C) { // nothing here should warn.
return C != ((void*)0);