annotate run/c/const_28_E.d @ 1535:20d8ee6523e1

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