1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Make this more likely to be passed byval.

llvm-svn: 46451
This commit is contained in:
Duncan Sands 2008-01-28 10:35:11 +00:00
parent 5b6f587a80
commit ecab334ce0

View File

@ -1,6 +1,6 @@
// RUN: %llvmgcc %s -S -O1 -o - | llvm-as | opt -std-compile-opts | llvm-dis | not grep add
struct S { int A; int B; int C; int D; };
struct S { int A; int B; char C[1000]; };
int f(struct S x) __attribute__ ((const));