2011-10-20 21:14:49 +00:00
|
|
|
// Check that -w has higher priority than -Werror.
|
|
|
|
// RUN: %clang_cc1 -verify -Wsign-compare -Werror -w %s
|
2012-12-02 13:20:44 +00:00
|
|
|
// expected-no-diagnostics
|
2011-10-20 21:14:49 +00:00
|
|
|
|
|
|
|
int f0(int x, unsigned y) {
|
|
|
|
return x < y;
|
|
|
|
}
|