xref: /llvm-project/clang/test/Index/index-file.cpp (revision b0b336ebe95b73038e7fdb00677209253edc4be5)
1 using MyTypeAlias = int;
2 
3 // RUN: c-index-test -index-file %s > %t
4 // RUN: FileCheck %s -input-file=%t
5 
6 // CHECK: [indexDeclaration]: kind: type-alias | name: MyTypeAlias | {{.*}} | loc: 1:7
7