2014-01-15 10:53:42 +01:00

8 lines
190 B
C

// RUN: %clang_cc1 -verify -Wno-everything -Wsign-compare %s
int f0(int, unsigned);
int f0(int x, unsigned y) {
if (x=3);
return x < y; // expected-warning {{comparison of integers}}
}