xref: /minix3/external/bsd/llvm/dist/clang/test/Index/crash-recovery-reparse.c (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1f4a2713aSLionel Sambuc // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
2f4a2713aSLionel Sambuc // RUN:   not c-index-test -test-load-source-reparse 1 local \
3*0a6a1f1dSLionel Sambuc // RUN:   -remap-file="%s,%S/Inputs/crash-recovery-reparse-remap.c" \
4f4a2713aSLionel Sambuc // RUN:   %s 2> %t.err
5f4a2713aSLionel Sambuc // RUN: FileCheck < %t.err -check-prefix=CHECK-REPARSE-SOURCE-CRASH %s
6f4a2713aSLionel Sambuc // RUN: test ! -e $t-preamble.pch
7f4a2713aSLionel Sambuc // CHECK-REPARSE-SOURCE-CRASH: Unable to reparse translation unit
8f4a2713aSLionel Sambuc //
9f4a2713aSLionel Sambuc // REQUIRES: crash-recovery
10f4a2713aSLionel Sambuc 
11f4a2713aSLionel Sambuc #warning parsing original file
12