diff options
author | Dale Johannesen <dalej@apple.com> | 2007-10-25 00:50:14 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-10-25 00:50:14 +0000 |
commit | 691645e90f81b2f35e9689f7346a6d83628566c0 (patch) | |
tree | 7bd8fc5fa0ceaf8d38e1b96951d93176596b03a5 /test/CFrontend | |
parent | 4d6d5783d8f803a9ae1ad64b16643f7ddeacbc1b (diff) | |
download | external_llvm-691645e90f81b2f35e9689f7346a6d83628566c0.zip external_llvm-691645e90f81b2f35e9689f7346a6d83628566c0.tar.gz external_llvm-691645e90f81b2f35e9689f7346a6d83628566c0.tar.bz2 |
Testcase for PR 1397.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/sret2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/sret2.c b/test/CFrontend/sret2.c new file mode 100644 index 0000000..137f560 --- /dev/null +++ b/test/CFrontend/sret2.c @@ -0,0 +1,9 @@ +// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 2 + +struct abc { + int a; + int b; + int c; +}; + +struct abc foo2(){} |