brintos

brintos / llvm-project-archived public Read only

0
0
Text · 448 B · 1611223 Raw
12 lines · cpp
1// RUN: %clang_cc1 -triple aarch64 -ast-dump -ast-dump-filter foo %s \2// RUN: | FileCheck --strict-whitespace %s3 4// CHECK: foo1 'void () __attribute__((device_kernel))'{{$}}5void foo1() __attribute__((device_kernel));6 7// CHECK: foo2 'void () __attribute__((aarch64_vector_pcs))'{{$}}8void foo2()  __attribute__((aarch64_vector_pcs));9 10// CHECK: foo3 'void () __attribute__((aarch64_sve_pcs))'{{$}}11void foo3()  __attribute__((aarch64_sve_pcs));12