1 // RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s
2 // CHECK: FunctionDecl
3 // CHECK-SAME: S.cpp:1:1, col:38
4 // CHECK-NEXT: ConstAttr
5 // CHECK-SAME: col:32
6
7 // CHECK: IndirectFieldDecl
8 // CHECK-NEXT: Field
9 // CHECK-NEXT: Field
10 // CHECK-NEXT: PackedAttr
11 // CHECK-SAME: col:26
12
13 // CHECK: AttributedStmt
14 // CHECK-NEXT: LoopHintAttr
15 // CHECK-SAME: line:10:9
16
17 extern void f() __attribute__((const));
18
19 struct S;
20
21 void stmt();
22
expr()23 void expr() {
24 f();
25 struct S s;
26 }
27