Mercurial > projects > dstress
annotate run/unicode_05.d @ 1383:52c9e86b6486
@url@ -> @uri@
author | thomask |
---|---|
date | Sun, 04 Mar 2007 13:07:35 +0000 |
parents | d2728b26695a |
children |
rev | line source |
---|---|
250 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Anders F Björklund <afb@algonet.se> | |
6 // @date@ 2005-01-25 | |
7 // @uri@ news:ct428n$2qoe$1@digitaldaemon.com | |
1383 | 8 // @uri@ nntp://news.digitalmars.com/D.gnu/983 |
250 | 9 |
10 module dstress.run.unicode_05; | |
11 | |
12 class 国{ | |
13 int 人; | |
14 } | |
15 | |
16 int main(){ | |
17 国 日本 = new 国(); | |
18 assert(日本.人==0); | |
19 日本.人++; | |
20 assert(日本.人==1); | |
21 return 0; | |
22 } |