blob: b2a1a9b3f96b2bbc0d33e9925f26cbae82f1093c [file] [log] [blame]
Douglas Gregor424668c2010-09-11 18:05:19 +00001// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00002// RUN: not c-index-test -code-completion-at=%s:20:1 \
Stephen Hines651f13c2014-04-23 16:59:28 -07003// RUN: "-remap-file=%s,%S/Inputs/crash-recovery-code-complete-remap.c" \
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00004// RUN: %s 2> %t.err
5// RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s
Ted Kremenek1872b312011-10-27 17:55:18 +00006// RUN: test ! -e %t-preamble.pch
Douglas Gregor2283d792010-08-20 00:59:43 +00007// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00008//
Daniel Dunbardb918642010-08-24 21:39:55 +00009// REQUIRES: crash-recovery
Daniel Dunbarb1fd3452010-08-19 23:44:10 +000010
NAKAMURA Takumi4d553c92013-03-25 23:49:11 +000011// FIXME: Please investigate abnormal path in MemoryBuffer.
Stephen Hines651f13c2014-04-23 16:59:28 -070012// REQUIRES: can-remove-opened-file
NAKAMURA Takumi4d553c92013-03-25 23:49:11 +000013
Daniel Dunbarb1fd3452010-08-19 23:44:10 +000014#warning parsing original file