summaryrefslogtreecommitdiff
path: root/test/Frontend/warning-mapping-1.c
blob: 623e5e3933a20c466ce22944fe6cf9792ccc2722 (plain)
1
2
3
4
5
6
7
// 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;
}