projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200e90c
)
Make this more likely to be passed byval.
author
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jan 2008 10:35:11 +0000
(10:35 +0000)
committer
Duncan Sands
<baldrick@free.fr>
Mon, 28 Jan 2008 10:35:11 +0000
(10:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46451
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CFrontend/2008-01-26-ReadOnlyByVal.c
patch
|
blob
|
history
diff --git
a/test/CFrontend/2008-01-26-ReadOnlyByVal.c
b/test/CFrontend/2008-01-26-ReadOnlyByVal.c
index cea6d1e15224c77c92c5990a9ed8ca67743ba4f6..8e9f6a23a8a68cd9d9e3bd2a9fdac0649935563f 100644
(file)
--- 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));