Mercurial > projects > dstress
annotate run/b/bug_template_622_A.d @ 1320:daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
author | thomask |
---|---|
date | Sun, 31 Dec 2006 19:59:08 +0000 |
parents | 03b5056496f1 |
children |
rev | line source |
---|---|
1072 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <oskar.linde@gmail.com> | |
6 // @date@ 2006-07-06 | |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1089
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=241 |
1072 | 8 |
9 module dstress.run.b.bug_template_622_A; | |
10 | |
11 template func(T, T c = 1){ | |
12 T func(T x){ | |
13 return x + c; | |
14 } | |
15 } | |
16 | |
17 int main(){ | |
18 if(func(1) != 2){ | |
19 assert(0); | |
20 } | |
1089 | 21 |
1072 | 22 return 0; |
23 } |