compare.c revision 9f3d942e9970bc8f51add390b2a2c46b5a2ab747
1// RUN: clang -parse-ast -verify %s
2
3int test(char *C) { // nothing here should warn.
4 return C != ((void*)0);
5 return C != (void*)0;
6 return C != 0;
7}
8
9int equal(char *a, const char *b)
10{
11 return a == b;
12}
13