lindquist@90: module complex1; lindquist@90: lindquist@90: void main() lindquist@90: { lindquist@104: cfloat cf1 = 3f + 0i; lindquist@104: cfloat cf2 = 4f + 1i; lindquist@104: cfloat cf3 = func(); lindquist@104: auto c1 = cf1 + cf2; lindquist@104: auto c2 = cf2 - cf3; lindquist@104: { lindquist@104: auto c3 = cf1 * cf3; lindquist@104: { lindquist@104: auto c4 = cf2 / cf3; lindquist@104: } lindquist@104: } lindquist@90: } lindquist@104: lindquist@104: cfloat func() lindquist@104: { lindquist@104: return 3f + 1i; lindquist@104: }