| 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 |
|
| 5 |
#ifdef MYCPLUSPLUS |
| 6 |
extern "C" { |
| 7 |
#endif |
| 8 |
|
| 9 |
#ifdef MYCPLUSPLUS |
| 10 |
} |
| 11 |
#endif |
| 12 |
|
| 13 |
int main() |
| 14 |
{ |
| 15 |
return 0; |
| 16 |
} |