aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Frontend/warning-mapping-2.c
blob: a0bb18b1a935b2eddf9f86689de3a1a6c7ff6b78 (plain)
1
2
3
4
5
6
7
// 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(); }