Mercurial > projects > dstress
view compile/o/opEquals_06_E.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 | daef239f37cf |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Nazo Humei <lovesyao@hotmail.com> // @date@ 2006-11-04 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=479 // @desc@ [Issue 479] New: can't compare arrayliteral statically with string module dstress.compile.o.opEquals_06_E; const char[] str = "abcd"; static if(str == ['a','b','c','d']){ // OK }else{ static assert(0); }