Mercurial > projects > dstress
annotate run/unicode_05.d @ 1597:8b9d4d2f925a
Fix typos in complex tests. See D bug 614.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:53:58 +0200 |
parents | 52c9e86b6486 |
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 } |