view run/private_03.d @ 1330:f3f715978184

Georg Wrede <georg@iki.fi> 2007-01-07 mail:45A120F5.1050108@iki.fi
author thomask
date Sat, 13 Jan 2007 10:33:49 +0000
parents a33ad7189d21
children 52c9e86b6486
line wrap: on
line source

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

// @author@	Stewart Gordon <smjg_1998@yahoo.com>
// @date@	2004-11-15
// @uri@	news:cn9vah$1shn$1@digitaldaemon.com
// @url@	nntp://digitalmars.com/digitalmars.D.bugs/2270

module dstress.compile.private_03;

class Outer{
	class Inner{
		private this(){
		}
		
		private int i=3;
	}
}

int main(){
	Outer outer = new Outer;
	Outer.Inner inner = new outer.Inner();
	assert(inner.i==3);
	return 0;
}