view compile/o/opCat_25_B.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-25
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=595
// @desc@	[Issue 595] New: can't append to array/arrayliteral statically

module dstress.compile.o.opCat_25_B;

const char[] a = null;
const char[] b = a ~ ['d'];

static assert(b == "d");