view run/t/template_57_A.d @ 1619:bebc7472a832

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

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

// @author@	Lionello Lunesu <lio@lunesu.com>
// @date@	2007-01-24
// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=883
// @desc@	[Issue 883] ICE: nested templates with integer arguments

module dstress.run.t.template_57_A;

struct Foo(int I){
	void Bar(int A)(Foo!(A) x ){
	}
}

int main(){
	Foo!(1) x;
	Foo!(1) y;
	x.Bar(y);
	return 0;
}