view nocompile/c/class_17.d @ 599:4e81f0907fb9

Walter <newshound@digitalmars.com> 2005-06-18 news:d91k96$oh9$1@digitaldaemon.com
author thomask
date Fri, 24 Jun 2005 08:49:06 +0000
parents
children b8c0195059d9
line wrap: on
line source

// $HeadURL$
// $Date$
// $Author$

// @desc@	class inheritance recoursion
// @author@	Andrew Fedoniouk <news@terrainformatica.com>
// @date@	2005-06-09
// @uri@	news:d88kv9$he4$1@digitaldaemon.com

// __DSTRESS_ELINE__ 21

module dstress.nocompile.c.class_17;

class A{
	const class B:A{
		   const int C = 5;
	}
}

int main(){
	assert(A.B.B.C==5);
	return 0;
}