blob: 25d7a9169b94ba64deef9ac382e7cefeced615c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: clang -fsyntax-only -verify %s
int test(char *C) { // nothing here should warn.
return C != ((void*)0);
return C != (void*)0;
return C != 0;
}
int equal(char *a, const char *b)
{
return a == b;
}
|