]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Index/print-type-declaration.cpp
Vendor import of clang trunk r302418:
[FreeBSD/FreeBSD.git] / test / Index / print-type-declaration.cpp
1
2 class Test{};
3
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]