blob: b2a1a9b3f96b2bbc0d33e9925f26cbae82f1093c [file] [log] [blame]
Douglas Gregor250ab1d2010-09-11 18:05:19 +00001// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
Daniel Dunbar77af1c52010-08-19 23:44:10 +00002// RUN: not c-index-test -code-completion-at=%s:20:1 \
Argyrios Kyrtzidis5899e892013-12-05 20:13:27 +00003// RUN: "-remap-file=%s,%S/Inputs/crash-recovery-code-complete-remap.c" \
Daniel Dunbar77af1c52010-08-19 23:44:10 +00004// RUN: %s 2> %t.err
5// RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
Ted Kremenek06b4f912011-10-27 17:55:18 +00006// RUN: test ! -e %t-preamble.pch
Douglas Gregorb97b6662010-08-20 00:59:43 +00007// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
Daniel Dunbar77af1c52010-08-19 23:44:10 +00008//
Daniel Dunbarb44eb0b2010-08-24 21:39:55 +00009// REQUIRES: crash-recovery
Daniel Dunbar77af1c52010-08-19 23:44:10 +000010
NAKAMURA Takumif7590612013-03-25 23:49:11 +000011// FIXME: Please investigate abnormal path in MemoryBuffer.
NAKAMURA Takumi23c76712014-02-16 10:15:34 +000012// REQUIRES: can-remove-opened-file
NAKAMURA Takumif7590612013-03-25 23:49:11 +000013
Daniel Dunbar77af1c52010-08-19 23:44:10 +000014#warning parsing original file