view run/t/template_38_A.d @ 1074:606a9d4edc0e

<h3r3tic@mat.uni.torun.pl> 2006-06-21 news:bug-215-3@http.d.puremagic.com/issues/
author thomask
date Fri, 07 Jul 2006 16:54:25 +0000
parents
children daef239f37cf
line wrap: on
line source

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

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

module dstress.run.t.template_38_A;

template T() {
	template foo() {
		bar b;
	}

        int x = 1;
}


struct S {
        mixin T!();
}

int main(){
	S s;
	if(s.x != 1){
		assert(0);
	}

	return 0;
}