[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / crash-recovery.c
blobbf13c69eb1279049e6eeeeeb9f19bab25046ef8f
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 // UNSUPPORTED: libstdcxx-safe-mode
9 #pragma clang __debug crash