summaryrefslogtreecommitdiff
path: root/clang/test/AST/ast-dump-type-callingconv.cpp
blob: 1611223acbc8011430b5a8f1825e44f6ac6bf92f (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -triple aarch64 -ast-dump -ast-dump-filter foo %s \
// RUN: | FileCheck --strict-whitespace %s

// CHECK: foo1 'void () __attribute__((device_kernel))'{{$}}
void foo1() __attribute__((device_kernel));

// CHECK: foo2 'void () __attribute__((aarch64_vector_pcs))'{{$}}
void foo2()  __attribute__((aarch64_vector_pcs));

// CHECK: foo3 'void () __attribute__((aarch64_sve_pcs))'{{$}}
void foo3()  __attribute__((aarch64_sve_pcs));