commit | 01211af981b50fe9eb465679bb394652ee235f1e | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Aug 24 21:20:17 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Aug 24 21:20:17 2007 +0000 |
tree | f301fa6cf700086bdb29f739e0b728c185b066d6 | |
parent | 03931a70695381cc41ae6f19ddc880d0b2d33cae [diff] [blame] |
implement codegen for real/imag. TODO: imag of non-complex. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41376 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c index 3b5437c..8a496ea 100644 --- a/test/CodeGen/complex.c +++ b/test/CodeGen/complex.c
@@ -26,4 +26,6 @@ g1 = g1 - g2; g1 = g1 * g2; g1 = +-~g1; + + double Gr = __real g1; }