aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/complex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/complex.c')
-rw-r--r--test/CodeGen/complex.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/complex.c b/test/CodeGen/complex.c
index 3ac04218cc..0cc002bc6d 100644
--- a/test/CodeGen/complex.c
+++ b/test/CodeGen/complex.c
@@ -37,3 +37,12 @@ void test3() {
g1 = g1 + D;
g1 = D + g1;
}
+
+void t1() {
+ (__real__ cf) = 4.0;
+}
+
+void t2() {
+ (__imag__ cf) = 4.0;
+}
+