mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-28 22:59:03 +01:00
[svn r108] Now basic suppport for complex types. =,+,-,*,/ are supported.
This commit is contained in:
9
test/complex3.d
Normal file
9
test/complex3.d
Normal file
@@ -0,0 +1,9 @@
|
||||
module complex3;
|
||||
|
||||
void main()
|
||||
{
|
||||
cfloat c1 = 1f + 0i;
|
||||
cfloat c2 = 0f + 0i;
|
||||
//c2 += 1f + 0i;
|
||||
//assert(c1 == c2);
|
||||
}
|
||||
Reference in New Issue
Block a user