view compile/f/float_literal_dec_18_F.d @ 1234:4e0034eebde4

[Issue 555] New: Integral ireal literals can't be specified Matti Niemenmaa <deewiant@gmail.com> 2006-11-18 news:bug-555-3@http.d.puremagic.com/issues/
author thomask
date Sat, 25 Nov 2006 13:38:24 +0000
parents
children daef239f37cf
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Matti Niemenmaa <deewiant@gmail.com>
// @date@	2006-11-18
// @uri@	news:bug-555-3@http.d.puremagic.com/issues/
// @desc@	[Issue 555] New: Integral ireal literals can't be specified

module dstress.compile.f.float_literal_dec_18_F;

const creal x = 1.0L + 4Li;

static assert(x == 1.0 + 4.0i);