blob: a80bdc2aee800b4286523de1fd669af706755d09 [file] [log] [blame]
Douglas Gregor2283d792010-08-20 00:59:43 +00001// RUN: env CINDEXTEST_EDITING=1 \
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
Douglas Gregor2283d792010-08-20 00:59:43 +00006// CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion!
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00007//
Daniel Dunbardb918642010-08-24 21:39:55 +00008// REQUIRES: crash-recovery
Daniel Dunbarb1fd3452010-08-19 23:44:10 +00009
10#warning parsing original file