Mercurial > projects > dstress
annotate run/escape_unicode32_03.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 | f87ba6507260 |
children |
rev | line source |
---|---|
374 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 module dstress.run.escape_unicode32_03; | |
6 | |
26 | 7 int main(){ |
8 char[] a="\U0000ABCD"; | |
9 char[] b="\U0000abcd"; | |
10 assert(a.length==3); | |
11 assert(b.length==3); | |
12 assert(a[0]==b[0]); | |
13 assert(a[1]==b[1]); | |
14 assert(a[2]==b[2]); | |
15 return 0; | |
16 } |