Mercurial > projects > dstress
comparison run/c/const_28_G.d @ 777:2f10fa84a21b
bulk offline commit
author | thomask |
---|---|
date | Fri, 16 Dec 2005 18:23:51 +0000 |
parents | |
children | 20d8ee6523e1 |
comparison
equal
deleted
inserted
replaced
776:a025bb49e44f | 777:2f10fa84a21b |
---|---|
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 | |
19 void init(inout Leaf* leaf){ | |
20 leaf= new Leaf; | |
21 } | |
22 | |
23 int main(){ | |
24 if(Leaf.data.length == a * b){ | |
25 return 0; | |
26 } | |
27 } |