compare.c revision 3b427b3ba518f7a7293458c2d3d92eebd8458d87
1// RUN: clang -fsyntax-only -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