Mercurial > projects > dstress
view run/t/template_57_A.d @ 1463:a88dcaf5c0d0
[Issue 883] ICE: nested templates with integer arguments
Lionello Lunesu <lio@lunesu.com>
2007-01-24
http://d.puremagic.com/issues/show_bug.cgi?id=883
author | thomask |
---|---|
date | Thu, 05 Apr 2007 10:31:02 +0000 |
parents | |
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; }