aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-01-28 10:35:11 +0000
committerDuncan Sands <baldrick@free.fr>2008-01-28 10:35:11 +0000
commit1f0315462bce5cfb988255bf54b367f746870f25 (patch)
tree423ec9e2cf86013c2a9f4c6e42b2035b299fb6ef
parent200e90c74bff0b533c87e2d781815fa61af7b4d6 (diff)
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
-rw-r--r--test/CFrontend/2008-01-26-ReadOnlyByVal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/2008-01-26-ReadOnlyByVal.c b/test/CFrontend/2008-01-26-ReadOnlyByVal.c
index cea6d1e152..8e9f6a23a8 100644
--- a/test/CFrontend/2008-01-26-ReadOnlyByVal.c
+++ b/test/CFrontend/2008-01-26-ReadOnlyByVal.c
@@ -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));