diff options
Diffstat (limited to 'test/Index/Core/index-with-module.m')
-rw-r--r-- | test/Index/Core/index-with-module.m | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/Index/Core/index-with-module.m b/test/Index/Core/index-with-module.m index e50b247e8d570..c83de63701e10 100644 --- a/test/Index/Core/index-with-module.m +++ b/test/Index/Core/index-with-module.m @@ -1,5 +1,5 @@ // RUN: rm -rf %t.mcp -// RUN: c-index-test core -print-source-symbols -- %s -I %S/Inputs/module -fmodules -fmodules-cache-path=%t.mcp | FileCheck %s +// RUN: c-index-test core -print-source-symbols -dump-imported-module-files -- %s -I %S/Inputs/module -fmodules -fmodules-cache-path=%t.mcp | FileCheck %s // CHECK: [[@LINE+1]]:9 | module/C | ModA | Decl | @import ModA; @@ -10,3 +10,9 @@ void foo() { // CHECK: [[@LINE+1]]:3 | function/C | ModA_func | c:@F@ModA_func | {{.*}} | Ref,Call,RelCall,RelCont | rel: 1 ModA_func(); } + +// CHECK: ==== Module ModA ==== +// CHECK: 2:6 | function/C | ModA_func | c:@F@ModA_func | {{.*}} | Decl | rel: 0 +// CHECK: ---- Module Inputs ---- +// CHECK: user | {{.*}}ModA.h +// CHECK: user | {{.*}}module.modulemap |