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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
181 B
C
Raw Normal View History

// Check that -w has higher priority than -Werror.
// RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s
// expected-no-diagnostics
int f0(int x, unsigned y) {
return x < y;
}