Mercurial > projects > dstress
view compile/o/opMod_05_K.d @ 1625:4e908dadd51c
modulo operations with complex numbers are allowed
author | Moritz Warning <moritzwarning@web.de> |
---|---|
date | Thu, 06 Jan 2011 14:59:13 +0100 |
parents | nocompile/o/opMod_05_K.d@daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Matti Niemenmaa <deewiant@gmail.com> // @date@ 2006-11-18 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=551 // @desc@ [Issue 551] New: Modulo operator works with imaginary and complex operands // __JSTRESS_KLINE__ 19 module dstress.nocompile.o.opMod_05_K; void foo(){ const real a; const creal b; auto x = a % b; }