[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / Index / print-type-declaration.cpp
bloba0953d1e56388aab81ed8e9eb16d2afb9e23a5de
2 class Test{};
4 int main()
6 auto a = Test();
7 auto b = a;
10 enum RegularEnum {};
12 enum class ScopedEnum {};
14 // RUN: c-index-test -test-print-type-declaration -std=c++11 %s | FileCheck %s
15 // CHECK: VarDecl=a:6:8 (Definition) [typedeclaration=Test] [typekind=Record]
16 // CHECK: VarDecl=b:7:8 (Definition) [typedeclaration=Test] [typekind=Record]
17 // CHECK: EnumDecl=RegularEnum:10:6 (Definition) [typedeclaration=RegularEnum] [typekind=Enum]
18 // CHECK: EnumDecl=ScopedEnum:12:12 (Definition) (scoped) [typedeclaration=ScopedEnum] [typekind=Enum]