Mercurial > projects > dstress
annotate run/struct_12.d @ 140:a33ad7189d21
1) news:// -> news:
2) nttp://.../...:... -> nntp://.../.../...
3) added missing mime types
4) added line ending styles
5) added missing keywords
author | thomask |
---|---|
date | Tue, 16 Nov 2004 16:00:10 +0000 |
parents | 3414705c41ac |
children | f87ba6507260 |
rev | line source |
---|---|
140 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
0 | 4 |
5 // @author@ Bent Rasmussen <exo@bent-rasmussen.info> | |
6 // @date@ 2004-06-21 | |
140 | 7 // @uri@ news:cb550t$1pon$1@digitaldaemon.com |
0 | 8 |
9 int status; | |
10 | |
11 struct MyStruct{ | |
12 } | |
13 | |
14 void rec(int i, MyStruct s){ | |
15 if( i > 0 ){ | |
16 status++; | |
17 rec(i-1, s); | |
18 } | |
19 } | |
20 | |
21 int main(){ | |
22 assert(status==0); | |
23 MyStruct st; | |
24 rec(1030, st); | |
25 assert(status==1030); | |
26 return 0; | |
27 } | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 |