xref: /llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp (revision 85e03cb7ebac50a13a9a9ac92a0b184a3bba9be1)
1 // REQUIRES: shell
2 // RUN: rm -rf %t
3 // RUN: mkdir -p %t
4 
5 // This is a reproducer for PR37091.
6 //
7 // Verify that no temporary files are left behind by the clang-tidy invocation.
8 
9 // RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy -checks='-*,clang-analyzer-core.NullDereference' %s -- --target=mips64
10 // RUN: rmdir %t
11