comparison run/c/const_28_B.d @ 1535:20d8ee6523e1

updated to DMD-1.013
author thomask
date Mon, 07 May 2007 05:19:57 +0000
parents 2f10fa84a21b
children
comparison
equal deleted inserted replaced
1534:345207906be7 1535:20d8ee6523e1
14 14
15 struct Leaf{ 15 struct Leaf{
16 int[arity] data; 16 int[arity] data;
17 } 17 }
18 18
19 void init(inout Leaf* leaf){ 19 void init(ref Leaf* leaf){
20 leaf= new Leaf; 20 leaf= new Leaf;
21 } 21 }
22 22
23 int main(){ 23 int main(){
24 if(Leaf.data.length == a * b){ 24 if(Leaf.data.length == a * b){