Mercurial > projects > dstress
annotate run/c/const_28_G.d @ 1535:20d8ee6523e1
updated to DMD-1.013
author | thomask |
---|---|
date | Mon, 07 May 2007 05:19:57 +0000 |
parents | 2f10fa84a21b |
children |
rev | line source |
---|---|
777 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Manfred Nowak <svv1999@hotmail.com> | |
6 // @date@ 2005-12-09 | |
7 // @uri@ news:ns972710D168DCEsvv1999hotmailcom@63.105.9.61 | |
8 | |
9 module dstress.run.c.const_28_G; | |
10 | |
11 const uint a = 4000; | |
12 const uint b = 1024; | |
13 const uint arity= a * b; | |
14 | |
15 struct Leaf{ | |
16 int[arity] data = void; | |
17 } | |
18 | |
1535 | 19 void init(ref Leaf* leaf){ |
777 | 20 leaf= new Leaf; |
21 } | |
22 | |
23 int main(){ | |
24 if(Leaf.data.length == a * b){ | |
25 return 0; | |
26 } | |
27 } |