view run/t/template_37_B.d @ 1073:6c7318abb97c

<oskar.linde@gmail.com> 2006-07-06 news:bug-242-3@http.d.puremagic.com/issues/
author thomask
date Fri, 07 Jul 2006 16:53:41 +0000
parents
children daef239f37cf
line wrap: on
line source

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

// @author@	<oskar.linde@gmail.com>
// @date@	2006-07-06
// @uri@	news:bug-242-3@http.d.puremagic.com/issues/

module dstress.run.t.template_37_B;

template a(){
	template b(){
		int b = 1;
	}
}

int main(){
	int x = a!().b!();

	if(x != 1){
		assert(0);
	}

	return 0;
}