447
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Author$
|
|
4
|
|
5 // @author@ Kris <fu@bar.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=3684
|
447
|
8
|
|
9 module dstress.run.bug_20050418_03;
|
|
10
|
|
11 class Buffer{
|
|
12 uint limit;
|
|
13 int position;
|
|
14 }
|
|
15
|
|
16 class Mapped : Buffer{
|
|
17 this(){
|
|
18 }
|
|
19
|
|
20 ~this(){
|
|
21 }
|
|
22 }
|
|
23
|
|
24 int main(){
|
|
25 Buffer a = new Buffer();
|
|
26 Mapped b = new Mapped();
|
|
27 Buffer c = new Mapped();
|
|
28 assert(a);
|
|
29 assert(b);
|
|
30 assert(c);
|
|
31 return 0;
|
|
32 }
|