blob: d4e29e8674fa3707a21ef2d23f46ef16963b260e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// RUN: clang -parse-ast-check %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;
}
|