
It is intended to disable _all_ warnings, even those upgraded to errors via `-Werror=warningname` or `#pragma clang diagnostic error' Fixes: https://llvm.org/PR38231 Differential Revision: https://reviews.llvm.org/D53199 llvm-svn: 352535
8 lines
231 B
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(); }
|