view run/o/opCat_15_T.d @ 591:34b3845d0e2a

Nick <Nick_member@pathlink.com> 2005-06-21 news:d99i1h$f70$1@digitaldaemon.com
author thomask
date Wed, 22 Jun 2005 11:36:08 +0000
parents
children 6b2e470699a0
line wrap: on
line source

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

// @author@	Nick <Nick_member@pathlink.com>
// @date@	2005-06-21
// @uri@	news:d99i1h$f70$1@digitaldaemon.com

module dstress.run.o.opCat_15_T;

int main(){
	dchar x = 'a'
	dchar[] arr;

	arr = arr ~ x;
	assert(arr.length==1);
	assert(arr[0]=='a');

	x='b';
	assert(arr[0]=='a');

	return 0;
}