Argyrios Kyrtzidis | 26d43cd | 2011-09-12 18:09:38 +0000 | [diff] [blame] | 1 | // RUN: c-index-test -write-pch %t.h.pch %s.h |
2 | // RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_REMAP_AFTER_TRIAL=1 c-index-test -test-load-source-reparse 3 local \ | ||||
3 | // RUN: "-remap-file=%s;%s.remap" %s -include %t.h -D CMD_MACRO=1 2>&1 | FileCheck %s | ||||
4 | |||||
5 | // CHECK-NOT: error: | ||||
6 | |||||
7 | int foo() { | ||||
8 | return x; | ||||
9 | } |