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