xref: /minix3/external/bsd/llvm/dist/clang/test/Index/crash-recovery.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: not c-index-test -test-load-source all %s 2> %t.err
2f4a2713aSLionel Sambuc // RUN: FileCheck < %t.err -check-prefix=CHECK-LOAD-SOURCE-CRASH %s
3f4a2713aSLionel Sambuc // CHECK-LOAD-SOURCE-CRASH: Unable to load translation unit
4*0a6a1f1dSLionel Sambuc // RUN: env LIBCLANG_DISABLE_CRASH_RECOVERY=1 not --crash c-index-test -test-load-source all %s
5f4a2713aSLionel Sambuc //
6f4a2713aSLionel Sambuc // REQUIRES: crash-recovery
7f4a2713aSLionel Sambuc 
8f4a2713aSLionel Sambuc #pragma clang __debug crash
9