[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Index / crash-recovery-code-complete.c
blobdfb47316dc9d71935896998b6345a7ae560442ab
1 // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
2 // RUN: not c-index-test -code-completion-at=%s:20:1 \
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 // RUN: test ! -e %t-preamble.pch
7 // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
8 //
9 // REQUIRES: crash-recovery
11 // FIXME: Please investigate abnormal path in MemoryBuffer.
12 // REQUIRES: can-remove-opened-file
13 // UNSUPPORTED: libstdcxx-safe-mode
15 #warning parsing original file