llvm/clang/test/Frontend/warning-mapping-2.c

// Check that -w takes precedence over -pedantic-errors.
// RUN: %clang_cc1 -verify -std=c89 -pedantic-errors -w %s

// Expect *not* to see a diagnostic for "implicit declaration of function"
// expected-no-diagnostics

void f0(void) { f1(); }