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

8 lines
231 B
C

// Check that -w takes precedence over -pedantic-errors.
// RUN: %clang_cc1 -verify -pedantic-errors -w %s
// Expect *not* to see a diagnostic for "implicit declaration of function"
// expected-no-diagnostics
void f0() { f1(); }