Mercurial > projects > dstress
annotate nocompile/c/class_17.d @ 1630:d0efa3ae5522 default tip
run/mini/naked_asm5: New x86_64 ABI passes the arguments in reverse order.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Sat, 23 Apr 2011 22:57:32 +0200 |
parents | b8c0195059d9 |
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 } |