| 1 |
// UNSUPPORTED: system-windows |
| 2 |
|
| 3 |
// RUN: rm -rf %t |
| 4 |
// RUN: mkdir -p %t/mod |
| 5 |
// RUN: touch %t/empty.h |
| 6 |
// RUN: cp %S/Inputs/preamble-reparse-changed-module/module.modulemap %t/mod |
| 7 |
// RUN: cp %S/Inputs/preamble-reparse-changed-module/head.h %t/mod |
| 8 |
|
| 9 |
// RUN: env CINDEXTEST_EDITING=1 CINDEXTEST_EXECUTE_COMMAND="cp %S/Inputs/preamble-reparse-changed-module/new-head.h %t/mod/head.h" CINDEXTEST_EXECUTE_AFTER_TRIAL=1 \ |
| 10 |
// RUN: c-index-test -test-load-source-reparse 3 local %s -I %t -I %t/mod -fmodules -fmodules-cache-path=%t/mcp 2>&1 | FileCheck %s |
| 11 |
|
| 12 |
// CHECK-NOT: warning: |
| 13 |
|
| 14 |
#include "empty.h" |
| 15 |
@import mod; |
| 16 |
|
| 17 |
void test(I *o) { |
| 18 |
[o call_me_new]; |
| 19 |
} |