annotate run/m/mixin_24_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 0e2d92ff0643
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1131
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
1 // $HeadURL$
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
2 // $Date$
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
3 // $Author$
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
4
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
5 // @author@ Sean Kelly <sean@f4.ca>
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
6 // @date@ 2006-09-11
1320
daef239f37cf sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 1131
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=343
1131
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
8 // @desc@ [Issue 343] New: Compile error using mixin containing struct
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
9
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
10 module dstress.run.m.mixin_24_B;
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
11
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
12 struct S{
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
13 int i;
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
14 }
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
15
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
16 template T(){
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
17 S s;
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
18 }
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
19
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
20 int main(){
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
21 mixin T!();
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
22
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
23 if(s.i != 0){
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
24 assert(0);
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
25 }
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
26 return 0;
0e2d92ff0643 [Issue 343] New: Compile error using mixin containing struct
thomask
parents:
diff changeset
27 }