llvm-for-llvmta/tools/clang/test/Frontend/warning-mapping-1.c

8 lines
181 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}