view run/t/template_40_B.d @ 1270:660f9196b52a

partial review
author thomask
date Sat, 23 Dec 2006 12:58:47 +0000
parents 069266d1a5f8
children daef239f37cf
line wrap: on
line source

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

// @author@	<h3r3tic@mat.uni.torun.pl>
// @date@	2006-06-20
// @uri@	news:bug-213-3@http.d.puremagic.com/issues/

module dstress.run.t.template_40_B;

template Outer(){
        template Inner() {
                int Inner;
        }
        
	int dummy;
}

struct Bar {
        mixin Outer!();
}

int main(){
	if(! is(typeof(Bar.Inner!()) == int)){
		assert(0);
	}
	if(! is(typeof(Bar.dummy) == int)){
		assert(0);
	}

	return 0;
}