view compile/o/opCat_22_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@	Stewart Gordon <smjg@iname.com>
// @date@	2006-09-16
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=353
// @desc@	[Issue 353] New: null passed as a char[] template argument, concatenated with a string literal, is a non-constant expression

module dstress.compile.o.opCat_22_B;

const char[] a = "" ~ "cat";

static assert(a == "cat");