summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/modernize-use-nullptr.cpp
blob: 4b8b3ee3c0d4962c75e33501497766cd20372222 (plain)
1
2
3
4
5
#define NULL 0
void f(void) {
  char *str = NULL; // ok
  (void)str;
}