671
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ zwang <nehzgnaw@gmail.com>
|
|
6 // @date@ 2005-09-17
|
1489
|
7 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=5018
|
671
|
8
|
736
|
9 // __DSTRESS_DFLAGS__ addon/import_08_Z.d
|
671
|
10
|
|
11 module dstress.run.i.import_08_C;
|
|
12
|
|
13 import addon.import_08_Z;
|
|
14
|
|
15 class C{
|
|
16 }
|
|
17
|
|
18 int main(){
|
|
19 int x;
|
1091
|
20
|
671
|
21 with(new C){
|
|
22 x = addon.import_08_Z.test(1);
|
|
23 }
|
1091
|
24
|
671
|
25 assert(x==2);
|
1091
|
26
|
671
|
27 return 0;
|
1091
|
28 }
|