view compile/o/opCat_25_A.d @ 1241:98f3c6ec25d8

[Issue 595] New: can't append to array/arrayliteral statically Nazo Humei <lovesyao@hotmail.com> 2006-11-25 news:bug-595-3@http.d.puremagic.com/issues/
author thomask
date Sat, 25 Nov 2006 17:53:28 +0000
parents
children daef239f37cf
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @author@	Nazo Humei <lovesyao@hotmail.com>
// @date@	2006-11-25
// @uri@	news:bug-595-3@http.d.puremagic.com/issues/
// @desc@	[Issue 595] New: can't append to array/arrayliteral statically

module dstress.compile.o.opCat_25_A;

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

static assert(b == "d");