From 8a8f9032c3756e805fb19f543cd5b3a3bf4b870f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 20 Feb 2005 23:29:23 +0000 Subject: [PATCH] New testcase for PR522. llvm-svn: 20259 --- .../Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c diff --git a/llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c b/llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c new file mode 100644 index 000000000000..bf6ba388afad --- /dev/null +++ b/llvm/test/Regression/CFrontend/2005-02-20-AggregateSAVEEXPR.c @@ -0,0 +1,7 @@ +// RUN: %llvmgcc %s -o /dev/null -S + +#include + +int foo(complex float c) { + return creal(c); +}