[runtime] Remove ia64 backend, the Itanium architecture is dead. (#4859)
[mono.git] / mono / tests / bug-461198.2.cs
1 using System;
2
3 namespace TestCase
4 {
5     class Program
6     {
7         public static void Main()
8         {
9             new Foo<string>().DoSomething();
10         }
11     }
12
13     public class Foo<T> : Bar<Foo<T>> 
14     {
15     }
16
17     public class Bar<T> : Baz
18     {
19         protected override void DoSomethingElse()
20         {
21             try
22             {
23                 throw new Exception();
24             }
25             catch
26             {
27             }
28         }
29     }
30
31     public abstract class Baz
32     {
33         protected abstract void DoSomethingElse();
34
35         public virtual void DoSomething()
36         {
37             DoSomethingElse();
38         }
39     }
40 }