[llvm-commits] [llvm] r43323 - /llvm/trunk/test/CFrontend/sret2.c
Dale Johannesen
dalej at apple.com
Wed Oct 24 17:50:15 PDT 2007
Author: johannes
Date: Wed Oct 24 19:50:14 2007
New Revision: 43323
URL: http://llvm.org/viewvc/llvm-project?rev=43323&view=rev
Log:
Testcase for PR 1397.
Added:
llvm/trunk/test/CFrontend/sret2.c
Added: llvm/trunk/test/CFrontend/sret2.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CFrontend/sret2.c?rev=43323&view=auto
==============================================================================
--- llvm/trunk/test/CFrontend/sret2.c (added)
+++ llvm/trunk/test/CFrontend/sret2.c Wed Oct 24 19:50:14 2007
@@ -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(){}
More information about the llvm-commits
mailing list