1 // RUN: echo env CINDEXTEST_EDITING=1 \
2 // RUN:   not c-index-test -test-load-source-reparse 1 local \
3 // RUN:   -remap-file="%s,%S/Inputs/crash-recovery-code-complete-remap.c" \
4 // RUN:   %s 2> %t.err
5 // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
6 // CHECK-CODE-COMPLETE-CRASH: Unable to reparse translation unit
7 
8 #warning parsing original file
9 
10 #pragma clang __debug crash
11