1*67e74705SXin Li// REQUIRES: crash-recovery,shell 2*67e74705SXin Li// RUN: rm -rf %t 3*67e74705SXin Li 4*67e74705SXin Li// Crash building module. 5*67e74705SXin Li// RUN: not --crash %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs %s 6*67e74705SXin Li 7*67e74705SXin Li// The dead symlink is still around, but the underlying lock file is gone. 8*67e74705SXin Li// RUN: find %t -name "crash-*.pcm.lock" | count 1 9*67e74705SXin Li// RUN: find %t -name "crash-*.pcm.lock-*" | count 0 10*67e74705SXin Li 11*67e74705SXin Li@import crash; 12