| 1 | // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 \ |
|---|---|
| 2 | // RUN: local -std=c++14 %s 2>&1 \ |
| 3 | // RUN: | FileCheck %s --implicit-check-not "error:" |
| 4 | #ifdef FOO_H |
| 5 | |
| 6 | void foo() {} |
| 7 | |
| 8 | #endif |
| 9 | |
| 10 | int foo() { return 0; } |
| 11 |
| 1 | // RUN: env CINDEXTEST_EDITING=1 c-index-test -test-load-source-reparse 5 \ |
|---|---|
| 2 | // RUN: local -std=c++14 %s 2>&1 \ |
| 3 | // RUN: | FileCheck %s --implicit-check-not "error:" |
| 4 | #ifdef FOO_H |
| 5 | |
| 6 | void foo() {} |
| 7 | |
| 8 | #endif |
| 9 | |
| 10 | int foo() { return 0; } |
| 11 |