Daniel Dunbar | be1aa41 | 2011-09-29 01:58:05 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -verify -Wno-error=sign-compare %s |
2 | // RUN: %clang_cc1 -verify -Wsign-compare -w -Wno-error=sign-compare %s | ||||
Andy Gibbs | 8e8fb3b | 2012-10-19 12:44:48 +0000 | [diff] [blame] | 3 | // expected-no-diagnostics |
Daniel Dunbar | be1aa41 | 2011-09-29 01:58:05 +0000 | [diff] [blame] | 4 | |
5 | int f0(int x, unsigned y) { | ||||
6 | return x < y; | ||||
7 | } |