2011-09-29 09:58:05 +08:00
|
|
|
// RUN: %clang_cc1 -verify -Wno-error=sign-compare %s
|
|
|
|
// RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s
|
2012-10-19 20:44:48 +08:00
|
|
|
// expected-no-diagnostics
|
2011-09-29 09:58:05 +08:00
|
|
|
|
|
|
|
int f0(int x, unsigned y) {
|
|
|
|
return x < y;
|
|
|
|
}
|