1 #import "import_moduleA.h"
2 static const int FROM_IMPL = 2;
7 // The lines above this point are sensitive to line/column changes.
10 // RUN: c-index-test -code-completion-at=%s:5:11 %s -I %S/Inputs | FileCheck %s
13 // RUN: rm -rf %t && mkdir %t
14 // RUN: c-index-test -code-completion-at=%s:5:11 %s -I %S/Inputs -fmodules -fmodules-cache-path=%t/mcp | FileCheck %s
17 // RUN: rm -rf %t && mkdir %t
18 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_moduleA.h -I %S/Inputs
19 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs | FileCheck %s
21 // ===--- PCH + Modules
22 // RUN: rm -rf %t && mkdir %t
23 // RUN: c-index-test -write-pch %t/import_moduleA.pch -x objective-c-header %S/Inputs/import_moduleA.h -fmodules -fmodules-cache-path=%t/mcp -I %S/Inputs
24 // RUN: c-index-test -code-completion-at=%s:5:11 %s -include-pch %t/import_moduleA.pch -I %S/Inputs -fmodules -fmodules-cache-path=%t/mcp | FileCheck %s
27 // RUN: rm -rf %t && mkdir %t
28 // RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:5:11 %s -I %S/Inputs | FileCheck %s
30 // ===--- Preamble + Modules
32 // RUN: env CINDEXTEST_EDITING=1 c-index-test -code-completion-at=%s:5:11 %s -I %S/Inputs -fmodules -fmodules-cache-path=%t/mcp | FileCheck %s
37 // CHECK: FROM_MODULE_A