aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/statements.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-02-03 01:49:51 +0000
committerChad Rosier <mcrosier@apple.com>2012-02-03 01:49:51 +0000
commit7a0a31ce0cd38147bfe853f71a3f7261444ddf4c (patch)
treed7a650cb1f93712b05391c72b219ce41579bbbbd /test/CodeGen/statements.c
parentd67d0cc40f31956b40b44b6ee3619d17a0f73294 (diff)
[frontend] Don't allow a mapping to a warning override an error/fatal mapping.
rdar://10736625 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/statements.c')
-rw-r--r--test/CodeGen/statements.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/statements.c b/test/CodeGen/statements.c
index 1d4f633f61..e2bbb5a90a 100644
--- a/test/CodeGen/statements.c
+++ b/test/CodeGen/statements.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -Wreturn-type %s -emit-llvm-only
+// RUN: %clang_cc1 -Wno-error=return-type %s -emit-llvm-only
void test1(int x) {
switch (x) {