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

8 lines
181 B
C

// 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;
}