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