annotate nocompile/m/mixin_25_B.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 6d34f92bff53
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1177
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
1 // $HeadURL$
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
2 // $Date$
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
3 // $Author$
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
4
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
5 // @author@ Don Clugston <clugdbug@yahoo.com.au>
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
6 // @date@ 2006-10-04
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1177
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=398
1177
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
8 // @desc@ [Issue 398] New: No way to abort compilation in a doubly recursive mixin
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
9
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
10 module dstress.nocompile.m.mixin_25_B;
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
11
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
12 template rubbish(int w) {
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
13 static if (w<=0) {
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
14 int val = 2;
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
15 } else {
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
16 mixin rubbish!(w-1) left;
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
17 mixin rubbish!(w-1) right;
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
18 }
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
19 }
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
20
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
21 int main(){
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
22 mixin rubbish!(30);
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
23 return 0;
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
24 }
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
25
6d34f92bff53 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
26