Mercurial > projects > dstress
annotate run/d/dchar_10_D.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 | 36bedfa079e6 |
children |
rev | line source |
---|---|
787 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com> | |
6 // @date@ 2005-12-12 | |
1489 | 7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5835 |
787 | 8 |
9 module dstress.run.d.dchar_10_D; | |
10 | |
11 int main(){ | |
1560 | 12 const dchar[] x = "\uDBC4\uDD11"w; |
787 | 13 |
1560 | 14 assert(x.length == 1); |
787 | 15 |
1560 | 16 if(x[0] == 0x101111){ |
787 | 17 return 0; |
18 } | |
19 } |