Mercurial > projects > dstress
annotate run/const_14.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 | d3a3e0c251d8 |
children |
rev | line source |
---|---|
301 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ John Reimer <brk_6502@yahoo.com> | |
6 // @date@ 2005-02-20 | |
7 // @uri@ news:pan.2005.02.20.14.41.58.234018@yahoo.com | |
1384 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3030 |
301 | 9 |
10 module dstress.run.const_14; | |
11 | |
12 const int c = 50*50; | |
13 | |
14 const int b = 4*c; | |
15 int[4*c] array; | |
16 | |
17 int main(){ | |
18 assert(array.length==4*50*50); | |
19 return 0; | |
20 } |