1// RUN: not c-index-test -test-load-source all %s 2> %t.err
2// RUN: FileCheck < %t.err -check-prefix=CHECK-LOAD-SOURCE-CRASH %s
3// CHECK-LOAD-SOURCE-CRASH: Unable to load translation unit
4// RUN: env LIBCLANG_DISABLE_CRASH_RECOVERY=1 not --crash c-index-test -test-load-source all %s
5//
6// REQUIRES: crash-recovery
7
8#pragma clang __debug crash
9