You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
470 B
10 lines
470 B
// RUN: %clang_cc1 -triple s390x-linux-gnu -emit-llvm -x c++ -o - %s | FileCheck %s
|
|
|
|
// For compatibility with GCC, this structure is passed in an FPR in C++,
|
|
// but passed in a GPR in C (checked in systemz-abi.c).
|
|
|
|
struct agg_float_cpp { float a; int : 0; };
|
|
struct agg_float_cpp pass_agg_float_cpp(struct agg_float_cpp arg) { return arg; }
|
|
// CHECK-LABEL: define void @_Z18pass_agg_float_cpp13agg_float_cpp(%struct.agg_float_cpp* noalias sret %{{.*}}, float %{{.*}})
|
|
|