Mercurial > projects > dstress
annotate run/o/opCall_02_C.d @ 1596:9bd08b3d5299
Fixed extra brackets in opCall_02_C. See D bug 135.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 09 Sep 2008 16:42:11 +0200 |
parents | 81222734adf3 |
children |
rev | line source |
---|---|
1049 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ <oskar.linde@gmail.com> | |
6 // @date@ 2006-05-11 | |
1319
81222734adf3
sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents:
1091
diff
changeset
|
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=135 |
1049 | 8 |
9 module dstress.run.o.opCall_02_C; | |
10 | |
11 class X{ | |
12 static int opCall(){ | |
13 return 3; | |
14 } | |
15 } | |
16 | |
17 int main(){ | |
18 X x; | |
1091 | 19 |
1596
9bd08b3d5299
Fixed extra brackets in opCall_02_C. See D bug 135.
Christian Kamm <kamm incasoftware de>
parents:
1319
diff
changeset
|
20 if(typeof(x)() != 3){ |
1049 | 21 assert(0); |
22 } | |
23 | |
24 return 0; | |
25 } | |
26 |