xref: /llvm-project/clang/test/Index/index-file.cpp (revision 4431918f40a252d5182028c62002a1a7fd4b88c7)
1 using MyTypeAlias = int;
2 
3 extern "C" {
4   template < typename T > *Allocate() { }
5 }
6 
7 // RUN: c-index-test -index-file %s > %t
8 // RUN: FileCheck %s -input-file=%t
9 
10 // CHECK: [indexDeclaration]: kind: type-alias | name: MyTypeAlias | {{.*}} | loc: 1:7
11