diff test/imag1.d @ 62:b86e00b938a5 trunk

[svn r66] Added support for imaginary floating point types
author lindquist
date Thu, 25 Oct 2007 09:48:36 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/test/imag1.d	Thu Oct 25 09:48:36 2007 +0200
@@ -0,0 +1,7 @@
+module imag1;
+
+void main()
+{
+    ifloat f = 1.0i;
+    auto x = 2.0i*f;
+}