]> granicus.if.org Git - clang/commitdiff
Migrate CodeGen/2005-02-20-AggregateSAVEEXPR.c from test/FrontendC with
authorEric Christopher <echristo@apple.com>
Tue, 26 Jul 2011 20:38:19 +0000 (20:38 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 26 Jul 2011 20:38:19 +0000 (20:38 +0000)
changes to remove any #include lines.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136129 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/2005-02-20-AggregateSAVEEXPR.c [new file with mode: 0644]

diff --git a/test/CodeGen/2005-02-20-AggregateSAVEEXPR.c b/test/CodeGen/2005-02-20-AggregateSAVEEXPR.c
new file mode 100644 (file)
index 0000000..99efb1b
--- /dev/null
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 %s -o /dev/null -emit-llvm
+
+int foo(__complex float c) {
+    return creal(c);
+}