15 public Foo
<T
> GetFoo (T data
)
17 return new Foo
<T
> (data
);
25 Test
<long> test
= new Test
<long> ();
26 Foo
<long> foo
= test
.GetFoo (0x800);
28 // This is a very simple test, just make sure the struct
29 // is returned correctly. This was broken until recently
30 // and I just fixed it on amd64.
31 if (foo
.Data
!= 0x800)