Mercurial > projects > dstress
diff compile/o/opMod_04_L.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_04_L.d@daef239f37cf |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/compile/o/opMod_04_L.d Thu Jan 06 14:59:13 2011 +0100 @@ -0,0 +1,19 @@ +// $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_04_L; + +void foo(){ + const cdouble a; + const double b; + + auto x = a % b; +}