You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
190 B
8 lines
190 B
4 months ago
|
// 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}}
|
||
|
}
|