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