Argyrios Kyrtzidis | 8b4f2b7 | 2012-01-27 07:10:14 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -verify -Wno-everything -Wsign-compare %s |
2 | |||||
3 | int f0(int, unsigned); | ||||
4 | int f0(int x, unsigned y) { | ||||
5 | if (x=3); | ||||
6 | return x < y; // expected-warning {{comparison of integers}} | ||||
7 | } |