diff options
Diffstat (limited to 'clang/test/Frontend/warning-mapping-2.c')
-rw-r--r-- | clang/test/Frontend/warning-mapping-2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Frontend/warning-mapping-2.c b/clang/test/Frontend/warning-mapping-2.c new file mode 100644 index 0000000..39ba499 --- /dev/null +++ b/clang/test/Frontend/warning-mapping-2.c @@ -0,0 +1,5 @@ +// Check that -w has lower priority than -pedantic-errors. +// RUN: %clang_cc1 -verify -pedantic-errors -w %s + +void f0() { f1(); } // expected-error {{implicit declaration of function}} + |