[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Tooling / clang-check-syntax-tree-dump.cpp
blob026a866eab060fa0328f3d430b5a9d3e53a70c9f
1 // RUN: clang-check -syntax-tree-dump "%s" -- 2>&1 | FileCheck %s
2 int abc;
3 // CHECK: TranslationUnit Detached
4 // CHECK-NEXT: `-SimpleDeclaration
5 // CHECK-NEXT: |-'int'
6 // CHECK-NEXT: |-DeclaratorList Declarators
7 // CHECK-NEXT: | `-SimpleDeclarator ListElement
8 // CHECK-NEXT: | `-'abc'
9 // CHECK-NEXT: `-';'