Mercurial > projects > dstress
comparison 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 |
comparison
equal
deleted
inserted
replaced
1462:4bf2a846ddf2 | 1463:a88dcaf5c0d0 |
---|---|
1 // $HeadURL$ | |
2 // $Date$ | |
3 // $Author$ | |
4 | |
5 // @author@ Lionello Lunesu <lio@lunesu.com> | |
6 // @date@ 2007-01-24 | |
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=883 | |
8 // @desc@ [Issue 883] ICE: nested templates with integer arguments | |
9 | |
10 module dstress.run.t.template_57_A; | |
11 | |
12 struct Foo(int I){ | |
13 void Bar(int A)(Foo!(A) x ){ | |
14 } | |
15 } | |
16 | |
17 int main(){ | |
18 Foo!(1) x; | |
19 Foo!(1) y; | |
20 x.Bar(y); | |
21 return 0; | |
22 } |