llvm-project/clang/test/Index/index-file.cpp

7 lines
191 B
C++

using MyTypeAlias = int;
// RUN: c-index-test -index-file %s > %t
// RUN: FileCheck %s -input-file=%t
// CHECK: [indexDeclaration]: kind: type-alias | name: MyTypeAlias | {{.*}} | loc: 1:7