view run/o/outer_01_E.d @ 1619:bebc7472a832

Fix #7.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Nov 2009 18:55:30 +0100
parents 0726ef6a2d54
children
line wrap: on
line source

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

module dstress.run.o.outer_01_E;

struct A{
	class B{
	}

	void test(){
		B b = new B();
		if(!(b.outer is this)){
			assert(0);
		}
	}
}

int main(){
	A a;
	a.test();

	return 0;
}