Home | History | Annotate | Download | only in Core
      1 // RUN: rm -rf %t.mcp
      2 // RUN: c-index-test core -print-source-symbols -- %s -I %S/Inputs/module -fmodules -fmodules-cache-path=%t.mcp | FileCheck %s
      3 
      4 // CHECK: [[@LINE+1]]:9 | module/C | ModA | Decl |
      5 @import ModA;
      6 // CHECK: [[@LINE+1]]:1 | module/C | ModA | Decl,Impl |
      7 #include "ModA.h"
      8 
      9 void foo() {
     10   // CHECK: [[@LINE+1]]:3 | function/C | ModA_func | c:@F@ModA_func | {{.*}} | Ref,Call,RelCall | rel: 1
     11   ModA_func();
     12 }
     13