comparison run/c/const_28_H.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
12 12
13 struct Leaf{ 13 struct Leaf{
14 int[arity] data = void; 14 int[arity] data = void;
15 } 15 }
16 16
17 void init(inout Leaf* leaf){ 17 void init(ref Leaf* leaf){
18 leaf= new Leaf; 18 leaf= new Leaf;
19 } 19 }
20 20
21 int main(){ 21 int main(){
22 if(Leaf.data.length == arity){ 22 if(Leaf.data.length == arity){