Mercurial > projects > dstress
annotate run/o/opSliceAssign_02_C.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 | 6edbee11e5be |
children |
rev | line source |
---|---|
1180
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
1 // $HeadURL$ |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
2 // $Date$ |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
3 // $Author$ |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
4 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
5 // @author@ Oskar Linde <oskar.linde@gmail.com> |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
6 // @date@ 2006-09-19 |
1320
daef239f37cf
sed'ed replacement of new:...http.d.puremagic.com/issues/ with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1180
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=295 |
1180
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
8 // @desc@ [Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
9 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
10 module dstress.run.o.opSliceAssign_02_C; |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
11 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
12 class A { |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
13 void opSliceAssign(int x){ |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
14 } |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
15 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
16 A d(){ |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
17 return this; |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
18 } |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
19 } |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
20 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
21 int main() { |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
22 A a = new A(); |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
23 a.d()[] = 5; |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
24 |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
25 return 0; |
6edbee11e5be
[Issue 295] New: Property call followed by sliceAssign not working for custom opSliceAssign
thomask
parents:
diff
changeset
|
26 } |