[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / sparcv8-abi.c
blob7a937176432786e289540fafc96f17f9befe6575
1 // RUN: %clang_cc1 -triple sparc-unknown-unknown -emit-llvm %s -o - | FileCheck %s
3 // CHECK-LABEL: define{{.*}} { float, float } @p(ptr noundef byval({ float, float }) align 4 %a, ptr noundef byval({ float, float }) align 4 %b) #0 {
4 float __complex__
5 p (float __complex__ a, float __complex__ b)
9 // CHECK-LABEL: define{{.*}} { double, double } @q(ptr noundef byval({ double, double }) align 8 %a, ptr noundef byval({ double, double }) align 8 %b) #0 {
10 double __complex__
11 q (double __complex__ a, double __complex__ b)
15 // CHECK-LABEL: define{{.*}} { i64, i64 } @r(ptr noundef byval({ i64, i64 }) align 8 %a, ptr noundef byval({ i64, i64 }) align 8 %b) #0 {
16 long long __complex__
17 r (long long __complex__ a, long long __complex__ b)