Mercurial > projects > dstress
annotate run/dup_04.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 | 6e4063f99377 |
children |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
39 | 5 // @author@ Russ Lewis <spamhole-2001-07-16@deming-os.org> |
6 // @date@ 2004-10-11 | |
140 | 7 // @uri@ news:ckdc4r$re2$1@digitaldaemon.com |
1487 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=2068 |
67 | 9 |
10 module dstress.run.dup_04; | |
39 | 11 |
12 int main() { | |
13 real[10] array; | |
14 real[] copy = array.dup; | |
15 copy.sort; | |
16 return 0; | |
17 } |