commit | 46f93d021a1778442c1c4a53f0b94a68bfae3be5 | [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 | dbb36971c68ea944ac4b1fbe2d97fe7cca3b20ac [diff] |
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; }