# HG changeset patch # User thomask # Date 1175769062 0 # Node ID a88dcaf5c0d01fdd9b73f353e6af082c683e3682 # Parent 4bf2a846ddf297492ad7f7b778d204dba1d9b937 [Issue 883] ICE: nested templates with integer arguments Lionello Lunesu 2007-01-24 http://d.puremagic.com/issues/show_bug.cgi?id=883 diff -r 4bf2a846ddf2 -r a88dcaf5c0d0 run/t/template_57_A.d --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/run/t/template_57_A.d Thu Apr 05 10:31:02 2007 +0000 @@ -0,0 +1,22 @@ +// $HeadURL$ +// $Date$ +// $Author$ + +// @author@ Lionello Lunesu +// @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; +}