Mercurial > projects > dstress
annotate run/delegate_01.d @ 374:f87ba6507260
added missing meta-data
author | thomask |
---|---|
date | Thu, 31 Mar 2005 09:01:33 +0000 |
parents | 4cd33115f015 |
children | 38ea1bb385b6 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
0 | 4 |
202 | 5 // @author@ Bent Rasmussen <exo@bent-rasmussen.info> |
0 | 6 // @date@ 2004-08-12 |
140 | 7 // @uri@ news:cfe9vt$1btr$1@digitaldaemon.com |
0 | 8 |
374 | 9 module dstress.run.delegate_01; |
10 | |
0 | 11 struct List(T){ |
12 T[] S; | |
13 | |
14 void bug(void delegate(inout T) f){ | |
15 f(S[0]); | |
16 } | |
17 } | |
18 | |
19 int main(){ | |
20 List!(bit) list; | |
21 return 0; | |
22 } | |
23 |