2016-10-21 07:11:45 +08:00
|
|
|
// REQUIRES: crash-recovery
|
2015-06-30 01:09:24 +08:00
|
|
|
// RUN: rm -rf %t
|
|
|
|
|
|
|
|
// Crash building module.
|
|
|
|
// RUN: not --crash %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I%S/Inputs %s
|
|
|
|
|
|
|
|
// The dead symlink is still around, but the underlying lock file is gone.
|
|
|
|
// RUN: find %t -name "crash-*.pcm.lock" | count 1
|
|
|
|
// RUN: find %t -name "crash-*.pcm.lock-*" | count 0
|
|
|
|
|
|
|
|
@import crash;
|