Merge pull request #2897 from kumpera/marshal_fixes
[mono.git] / mono / tests / verifier / valid_initobj_this.cs
1 using System;
2
3 public struct Foo<T>
4 {
5         public T t;
6
7         public Foo (T t)
8         {
9                 this = new Foo<T> ();
10                 this.t = t;
11         }
12 }
13
14 class MainClass
15 {
16
17         public static void Main(string[] args)
18         {
19                 var f = new Foo<int> (99);
20         }
21 }
22
23