diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:02:28 +0000 |
commit | 7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch) | |
tree | c72b9241553fc9966179aba84f90f17bfa9235c3 /test/Index/Core/index-with-module.m | |
parent | b52119637f743680a99710ce5fdb6646da2772af (diff) |
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 |