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