annotate run/m/mixin_25_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 1b8d07c28573
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1181
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
1 // $HeadURL$
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
2 // $Date$
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
3 // $Author$
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
4
1b8d07c28573 [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>
1b8d07c28573 [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: 1181
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=398
1181
1b8d07c28573 [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
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
9
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
10 module dstress.run.m.mixin_25_A;
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
11
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
12 template rubbish(int w) {
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
13 static if (w<=0) {
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
14 int val = 2;
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
15 } else {
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
16 mixin rubbish!(w-1) left;
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
17 mixin rubbish!(w-1) right;
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
18 }
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
19 }
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
20
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
21 int main(){
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
22 mixin rubbish!(4);
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
23 return 0;
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
24 }
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
25
1b8d07c28573 [Issue 398] New: No way to abort compilation in a doubly recursive mixin
thomask
parents:
diff changeset
26