view run/c/char_07_D.d @ 1516:4576b42ef546

updated to DMD-1.013
author thomask
date Fri, 27 Apr 2007 17:21:10 +0000
parents b8c0195059d9
children 36bedfa079e6
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2005-12-12
// @uri@	http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5835

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;
	}
}