Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / tests / bug-473482.2.cs
1 using System;
2
3 public class Program
4 {
5     static void Main()
6     {
7         try
8         {
9             new Foo<object>(0, 0);
10         }
11         catch (Exception ex)
12         {
13           var t = ex.StackTrace;
14         }
15     }
16 }
17
18 public class Foo<T> : FooBase
19 {
20     int i;
21     int ii;
22
23     public Foo(int i, int ii)
24     {
25         this.i = i;
26         this.ii = ii;
27         this.iii = 0;
28         throw new Exception();
29     }
30 }
31
32 public abstract class FooBase
33 {
34     protected int iii;
35 }