1*67e74705SXin Li // RUN: %clang_cc1 -triple s390x-linux-gnu -emit-llvm -x c++ -o - %s | FileCheck %s 2*67e74705SXin Li 3*67e74705SXin Li // For compatibility with GCC, this structure is passed in an FPR in C++, 4*67e74705SXin Li // but passed in a GPR in C (checked in systemz-abi.c). 5*67e74705SXin Li 6*67e74705SXin Li struct agg_float_cpp { float a; int : 0; }; pass_agg_float_cpp(struct agg_float_cpp arg)7*67e74705SXin Listruct agg_float_cpp pass_agg_float_cpp(struct agg_float_cpp arg) { return arg; } 8*67e74705SXin Li // CHECK-LABEL: define void @_Z18pass_agg_float_cpp13agg_float_cpp(%struct.agg_float_cpp* noalias sret %{{.*}}, float %{{.*}}) 9*67e74705SXin Li 10