• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 class Test{};
3 
main()4 int main()
5 {
6   auto a = Test();
7   auto b = a;
8 }
9 
10 // RUN: c-index-test -test-print-type-declaration -std=c++11 %s | FileCheck %s
11 // CHECK: VarDecl=a:6:8 (Definition) [typedeclaration=Test] [typekind=Record]
12 // CHECK: VarDecl=b:7:8 (Definition) [typedeclaration=Test] [typekind=Record]
13