annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1463
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
1 // $HeadURL$
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
2 // $Date$
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
3 // $Author$
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
4
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
5 // @author@ Lionello Lunesu <lio@lunesu.com>
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
6 // @date@ 2007-01-24
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
7 // @uri@ http://d.puremagic.com/issues/show_bug.cgi?id=883
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
8 // @desc@ [Issue 883] ICE: nested templates with integer arguments
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
9
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
10 module dstress.run.t.template_57_A;
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
11
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
12 struct Foo(int I){
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
13 void Bar(int A)(Foo!(A) x ){
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
14 }
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
15 }
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
16
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
17 int main(){
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
18 Foo!(1) x;
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
19 Foo!(1) y;
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
20 x.Bar(y);
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
21 return 0;
a88dcaf5c0d0 [Issue 883] ICE: nested templates with integer arguments
thomask
parents:
diff changeset
22 }