[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Import / attr / test.cpp
blob9e2d6ee1cbac90df52809c0ab6dae96571925f0c
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
7 // CHECK: IndirectFieldDecl
8 // CHECK-NEXT: Field
9 // CHECK-NEXT: Field
10 // CHECK-NEXT: PackedAttr
11 // CHECK-SAME: col:26
13 // CHECK: AttributedStmt
14 // CHECK-NEXT: LoopHintAttr
15 // CHECK-SAME: line:10:9
17 extern char f() __attribute__((const));
19 struct S;
21 void stmt();
23 void expr() {
24 (void)f();
25 struct S s;