clang/test/AST/ast-dump-type-callingconv.cpp
raw| 1 | // RUN: %clang_cc1 -triple aarch64 -ast-dump -ast-dump-filter foo %s \ |
| 2 | // RUN: | FileCheck --strict-whitespace %s |
| 3 | |
| 4 | // CHECK: foo1 'void () __attribute__((device_kernel))'{{$}} |
| 5 | void foo1() __attribute__((device_kernel)); |
| 6 | |
| 7 | // CHECK: foo2 'void () __attribute__((aarch64_vector_pcs))'{{$}} |
| 8 | void foo2() __attribute__((aarch64_vector_pcs)); |
| 9 | |
| 10 | // CHECK: foo3 'void () __attribute__((aarch64_sve_pcs))'{{$}} |
| 11 | void foo3() __attribute__((aarch64_sve_pcs)); |