diff run/unicode_05.d @ 250:d2728b26695a

unicode identifiers Anders F Bj?rklund <afb@algonet.se> 2005-01-25 news:ct428n$2qoe$1@digitaldaemon.com nntp://news.digitalmars.com/D.gnu/983
author thomask
date Tue, 25 Jan 2005 20:04:05 +0000
parents
children 52c9e86b6486
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/unicode_05.d	Tue Jan 25 20:04:05 2005 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Anders F Björklund <afb@algonet.se>
+// @date@	2005-01-25
+// @uri@	news:ct428n$2qoe$1@digitaldaemon.com
+// @url@	nntp://news.digitalmars.com/D.gnu/983
+
+module dstress.run.unicode_05;
+
+class 国{
+	int 人;
+}
+
+int main(){
+	国 日本 = new 国();
+	assert(日本.人==0);
+	日本.人++;
+	assert(日本.人==1);
+	return 0;
+}