Mercurial > projects > dstress
annotate nocompile/c/class_17.d @ 1489:b8c0195059d9
changed nntp: URLs to http: URLs
author | thomask |
---|---|
date | Mon, 09 Apr 2007 13:47:01 +0000 |
parents | 4e81f0907fb9 |
children |
rev | line source |
---|---|
599 | 1 // $HeadURL$ |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @desc@ class inheritance recoursion | |
6 // @author@ Andrew Fedoniouk <news@terrainformatica.com> | |
7 // @date@ 2005-06-09 | |
1489 | 8 // @uri@ http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.bugs&artnum=4249 |
599 | 9 |
10 // __DSTRESS_ELINE__ 21 | |
11 | |
12 module dstress.nocompile.c.class_17; | |
13 | |
14 class A{ | |
15 const class B:A{ | |
16 const int C = 5; | |
17 } | |
18 } | |
19 | |
20 int main(){ | |
21 assert(A.B.B.C==5); | |
22 return 0; | |
23 } |