view run/c/char_07_D.d @ 1090:f4e98d870b57

pre DMD-0.163 review
author thomask
date Thu, 20 Jul 2006 14:47:29 +0000
parents 9a583bdb38a1
children b8c0195059d9
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2005-12-12
// @uri@	news:dnjnqe$16sv$1@digitaldaemon.com

module dstress.run.c.char_07_D;

int main(){
	char[] string = "\uDBC4\uDD11"w;

	if(string.length != 4){
		assert(0);
	}

	if(string[0] == 0xF0 && string[1] == 0x81 && string[2] == 0x84 && string[3] == 0x91){
		return 0;
	}
}