2011-09-29 09:37:40 +08:00
|
|
|
// Check that -w has higher priority than -Werror.
|
|
|
|
// RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2011-09-29 09:37:40 +08:00
|
|
|
|
|
|
|
int f0(int x, unsigned y) {
|
|
|
|
return x < y;
|
|
|
|
}
|