hanchenye-llvm-project/clang/test/Frontend/warning-mapping-4.c

8 lines
200 B
C

// RUN: %clang_cc1 -verify -Wno-error=sign-compare %s
// RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s
// expected-no-diagnostics
int f0(int x, unsigned y) {
return x < y;
}