changeset 396:70b2268df736

implicit conversion from real to creal
author thomask
date Wed, 06 Apr 2005 20:41:13 +0000
parents 8b1e3fb9c5a5
children 56431d0f252e
files run/creal_21.d
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/creal_21.d	Wed Apr 06 20:41:13 2005 +0000
@@ -0,0 +1,12 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.run.creal_21;
+
+int main(){
+	creal a = 22.0L;
+	creal b = 22.0L + 0.0Li;
+	assert(a==b);
+	return 0;
+}