Make this more likely to be passed byval.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46451 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2008-01-28 10:35:11 +00:00
parent 200e90c74b
commit 1f0315462b

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));