annotate run/o/opCall_02_D.d @ 1319:81222734adf3

sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
author thomask
date Sun, 31 Dec 2006 19:58:06 +0000
parents 9dcac8d4e97f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1049
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
1 // $HeadURL$
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
2 // $Date$
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
3 // $Author$
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
4
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
5 // @author@ <oskar.linde@gmail.com>
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
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
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
8
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
9 module dstress.run.o.opCall_02_D;
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
10
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
11 class X{
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
12 static int opCall(){
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
13 return 3;
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
14 }
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
15 }
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
16
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
17 int main(){
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
18 X x;
1091
9dcac8d4e97f post DMD-0.163 review
thomask
parents: 1049
diff changeset
19
1049
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
20 if(typeof(x).opCall() != 3){
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
21 assert(0);
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
22 }
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
23
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
24 return 0;
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
25 }
32c1be40d218 <oskar.linde@gmail.com>
thomask
parents:
diff changeset
26