1 // RUN: %llvmgxx -S -emit-llvm %s -o - | grep byval | count 2
4 // (PR 4242 bug is on 64-bit only, test passes on x86-32 as well)
14 extern "C" S
fail(int, int, int, int, T t
, void* p
) {
16 s
.data
[0] = t
.data
[0];
17 s
.data
[1] = t
.data
[1];
22 extern "C" S
* succeed(S
* sret
, int, int, int, int, T t
, void* p
) {
23 sret
->data
[0] = t
.data
[0];
24 sret
->data
[1] = t
.data
[1];