1 // RUN: sed -e "s:INPUT_DIR:%S/Inputs/vfsoverlay:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay/vfsoverlay.yaml > %t.yaml
2 // RUN: clang-tidy %s -checks='-*,modernize-use-nullptr' -vfsoverlay %t.yaml -- -I %t | FileCheck %s
3 // REQUIRES: shell
4 
5 #include "not_real.h"
6 
7 X *ptr = 0;
8 // CHECK: warning: use nullptr [modernize-use-nullptr]
9