tests: Add some more tests for warning mappings.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140764 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Frontend/warning-mapping-2.c b/test/Frontend/warning-mapping-2.c
new file mode 100644
index 0000000..5a347eb
--- /dev/null
+++ b/test/Frontend/warning-mapping-2.c
@@ -0,0 +1,8 @@
+// Check that -w has lower priority than -pedantic-errors.
+// RUN: %clang_cc1 -verify -pedantic-errors -w %s
+//
+// FIXME: We currently get this wrong.
+// XFAIL: *
+
+void f0() { f1(); } // expected-error {{implicit declaration of function}}
+