468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
11 lines
249 B
C
11 lines
249 B
C
// RUN: clang-tidy %s -checks=-*,modernize-use-nullptr -- | count 0
|
|
|
|
// Note: this test expects no diagnostics, but FileCheck cannot handle that,
|
|
// hence the use of | count 0.
|
|
|
|
#define NULL 0
|
|
void f(void) {
|
|
char *str = NULL; // ok
|
|
(void)str;
|
|
}
|