annotate run/o/object_01_B.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 1a05061a48b9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
951
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
1 // $HeadURL$
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
2 // $Date$
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
3 // $Author$
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
4
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
5 // @author@ <thomas-dloop@kuehne.cn>
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
6 // @date@ 2006-04-09
1319
81222734adf3 sed'ed replacement of new:...http.d.puremagic.co... with http://d.puremagic.com/issues/show_bug.cgi?...
thomask
parents: 951
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=94
951
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
8
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
9 module dstress.run.o.object_01_B;
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
10
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
11 class Object{
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
12 int someVar;
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
13 }
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
14
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
15 int main(){
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
16 dstress.run.o.object_01_B.Object o = new Object();
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
17
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
18 assert(o);
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
19
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
20 o.someVar = 2;
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
21
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
22 if(o.someVar != 2){
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
23 assert(0);
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
24 }
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
25
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
26 return 0;
1a05061a48b9 <thomas-dloop@kuehne.cn>
thomask
parents:
diff changeset
27 }