diff options
Diffstat (limited to 'test/Frontend/warning-mapping-2.c')
-rw-r--r-- | test/Frontend/warning-mapping-2.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Frontend/warning-mapping-2.c b/test/Frontend/warning-mapping-2.c index 39ba4997a4..4f7f1ee760 100644 --- a/test/Frontend/warning-mapping-2.c +++ b/test/Frontend/warning-mapping-2.c @@ -1,5 +1,7 @@ -// Check that -w has lower priority than -pedantic-errors. +// Check that -w takes precedence over -pedantic-errors. // RUN: %clang_cc1 -verify -pedantic-errors -w %s -void f0() { f1(); } // expected-error {{implicit declaration of function}} +// Expect *not* to see a diagnostic for "implicit declaration of function" +// expected-no-diagnostics +void f0() { f1(); } |