1// REQUIRES: shell 2 3// RUN: mkdir -p %t/mod 4// RUN: touch %t/empty.h 5// RUN: cp %S/Inputs/preamble-reparse-changed-module/module.modulemap %t/mod 6// RUN: cp %S/Inputs/preamble-reparse-changed-module/head.h %t/mod 7 8// 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 \ 9// 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 10 11// CHECK-NOT: warning: 12 13#include "empty.h" 14@import mod; 15 16void test(I *o) { 17 [o call_me_new]; 18} 19