Mercurial > projects > dstress
view run/unicode_05.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | 52c9e86b6486 |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @author@ Anders F Björklund <afb@algonet.se> // @date@ 2005-01-25 // @uri@ news:ct428n$2qoe$1@digitaldaemon.com // @uri@ nntp://news.digitalmars.com/D.gnu/983 module dstress.run.unicode_05; class 国{ int 人; } int main(){ 国 日本 = new 国(); assert(日本.人==0); 日本.人++; assert(日本.人==1); return 0; }