451
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Stewart Gordon <smjg_1998@yahoo.com>
|
|
6 // @date@ 2005-04-18
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=3713
|
451
|
8
|
|
9 module dstress.run.opPostInc_11;
|
|
10
|
452
|
11 void dummy(...){
|
|
12 }
|
451
|
13
|
|
14 int main() {
|
958
|
15 real x = 9.0;
|
452
|
16 dummy(x);
|
|
17 real y=x++;
|
958
|
18
|
|
19 if(y != 9.0L){
|
|
20 assert(0);
|
|
21 }
|
|
22
|
|
23 if(x != 10.0L){
|
|
24 assert(0);
|
|
25 }
|
|
26
|
451
|
27 return 0;
|
|
28 }
|
|
29
|