view run/Alternate_Wysiwyg_String_12.d @ 1622:d402aa53926c

Add test for bug 3092 written by Manuel K?nig
author Leandro Lucarella <llucax@gmail.com>
date Tue, 19 Oct 2010 19:18:23 -0300
parents ec5e144583ea
children
line wrap: on
line source

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

module dstress.run.Alternate_Wysiwyg_String_12;

int main(){
	string arr=`\x`;
	if(2 != arr.length){ assert(0); }
	if('\\' != arr[0]){ assert(0); }
	if('x' != arr[1]){ assert(0); }
	return 0;
}