view run/o/opCat_15_S.d @ 669:6b2e470699a0

fixed typo
author thomask
date Sat, 17 Sep 2005 12:37:04 +0000
parents 34b3845d0e2a
children b8c0195059d9
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_S;

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

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

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

	return 0;
}