blob: d4e29e8674fa3707a21ef2d23f46ef16963b260e [file] [log] [blame]
Chris Lattnerd28f8152007-08-26 01:10:14 +00001// RUN: clang -parse-ast-check %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
Steve Naroff77878cc2007-08-27 04:08:11 +00009int equal(char *a, const char *b)
10{
11 return a == b;
12}