brintos

brintos / llvm-project-archived public Read only

0
0
Text · 501 B · 9e2d6ee Raw
27 lines · cpp
1// RUN: clang-import-test -dump-ast -import %S/Inputs/S.cpp -expression %s | FileCheck %s2// CHECK: FunctionDecl3// CHECK-SAME: S.cpp:1:1, col:384// CHECK-NEXT: ConstAttr5// CHECK-SAME: col:326 7// CHECK: IndirectFieldDecl8// CHECK-NEXT: Field9// CHECK-NEXT: Field10// CHECK-NEXT: PackedAttr11// CHECK-SAME: col:2612 13// CHECK: AttributedStmt14// CHECK-NEXT: LoopHintAttr15// CHECK-SAME: line:10:916 17extern char f() __attribute__((const));18 19struct S;20 21void stmt();22 23void expr() {24  (void)f();25  struct S s;26}27