blob: c502ce5186f70e0e9bca73699d156d2871468afb [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 \
Douglas Gregor2283d792010-08-20 00:59:43 +00003// 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.
12// XFAIL: mingw32,win32
13
Daniel Dunbarb1fd3452010-08-19 23:44:10 +000014#warning parsing original file