summaryrefslogtreecommitdiffstats
path: root/test/Misc/diag-mapping2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Misc/diag-mapping2.c')
-rw-r--r--test/Misc/diag-mapping2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Misc/diag-mapping2.c b/test/Misc/diag-mapping2.c
index 7e0d774..c5fd7ff 100644
--- a/test/Misc/diag-mapping2.c
+++ b/test/Misc/diag-mapping2.c
@@ -12,7 +12,10 @@
// RUN: clang-cc %s -Werror=#warnings 2>&1 | grep "error:" &&
// -Wno-error= overrides -Werror. rdar://3158301
-// RUN: clang-cc %s -Werror -Wno-error=#warnings 2>&1 | grep "warning:"
+// RUN: clang-cc %s -Werror -Wno-error=#warnings 2>&1 | grep "warning:" &&
+
+// -Wno-error overrides -Werror. PR4715
+// RUN: clang-cc %s -Werror -Wno-error 2>&1 | grep "warning:"
#warning foo
OpenPOWER on IntegriCloud