summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-20 23:29:23 +0000
committerChris Lattner <sabre@nondot.org>2005-02-20 23:29:23 +0000
commitc19ff5c9254bea24ecddf38538f55c9019fc04ea (patch)
tree16436524aa281dde61da5028b01cc9c1e1f82b49 /test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
parent6943570f3a1cbb771f92601d3bbcf9abddeceb5e (diff)
downloadexternal_llvm-c19ff5c9254bea24ecddf38538f55c9019fc04ea.zip
external_llvm-c19ff5c9254bea24ecddf38538f55c9019fc04ea.tar.gz
external_llvm-c19ff5c9254bea24ecddf38538f55c9019fc04ea.tar.bz2
New testcase for PR522.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20259 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend/2005-02-20-AggregateSAVEEXPR.c')
-rw-r--r--test/CFrontend/2005-02-20-AggregateSAVEEXPR.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c b/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
new file mode 100644
index 0000000..bf6ba38
--- /dev/null
+++ b/test/CFrontend/2005-02-20-AggregateSAVEEXPR.c
@@ -0,0 +1,7 @@
+// RUN: %llvmgcc %s -o /dev/null -S
+
+#include <complex.h>
+
+int foo(complex float c) {
+ return creal(c);
+}