Douglas Gregor | 424668c | 2010-09-11 18:05:19 +0000 | [diff] [blame] | 1 | // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_PREAMBLE_FILE=%t-preamble.pch \ |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 2 | // RUN: not c-index-test -code-completion-at=%s:20:1 \ |
Douglas Gregor | 2283d79 | 2010-08-20 00:59:43 +0000 | [diff] [blame] | 3 | // RUN: "-remap-file=%s;%S/Inputs/crash-recovery-code-complete-remap.c" \ |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 4 | // RUN: %s 2> %t.err |
| 5 | // RUN: FileCheck < %t.err -check-prefix=CHECK-CODE-COMPLETE-CRASH %s |
Douglas Gregor | 424668c | 2010-09-11 18:05:19 +0000 | [diff] [blame] | 6 | // RUN: rm %t-preamble.pch |
Douglas Gregor | 2283d79 | 2010-08-20 00:59:43 +0000 | [diff] [blame] | 7 | // CHECK-CODE-COMPLETE-CRASH: Unable to perform code completion! |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 8 | // |
Daniel Dunbar | db91864 | 2010-08-24 21:39:55 +0000 | [diff] [blame] | 9 | // REQUIRES: crash-recovery |
Daniel Dunbar | b1fd345 | 2010-08-19 23:44:10 +0000 | [diff] [blame] | 10 | |
| 11 | #warning parsing original file |