1*803cbcbcSBjörn Svensson // RUN: clang-tidy %s -checks=-*,modernize-use-nullptr -- -std=c17 | count 0 289a1d03eSRichard 389a1d03eSRichard // Note: this test expects no diagnostics, but FileCheck cannot handle that, 489a1d03eSRichard // hence the use of | count 0. 589a1d03eSRichard 689a1d03eSRichard #define NULL 0 f(void)789a1d03eSRichardvoid f(void) { 889a1d03eSRichard char *str = NULL; // ok 989a1d03eSRichard (void)str; 1089a1d03eSRichard } 11