xref: /llvm-project/clang/test/Frontend/warning-mapping-1.c (revision c6e68daac0fa6e77a89f3ca72f266a528503dd1c)
1 // Check that -w has higher priority than -Werror.
2 // RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s
3 // expected-no-diagnostics
4 
f0(int x,unsigned y)5 int f0(int x, unsigned y) {
6   return x < y;
7 }
8