llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/pr37091.cpp

11 lines
315 B
C++

// REQUIRES: shell
// RUN: rm -rf %t
// RUN: mkdir -p %t
// This is a reproducer for PR37091.
//
// Verify that no temporary files are left behind by the clang-tidy invocation.
// RUN: env TMPDIR=%t TEMP=%t TMP=%t clang-tidy -checks='-*,clang-analyzer-core.NullDereference' %s -- --target=mips64
// RUN: rmdir %t