Reenable AOT, it wasn't enabled on the x86 buildbot anyway.
[mcs.git] / tests / gtest-316.cs
blobca1f8faa1d35e207026fcc1f7c09c53049a869d5
1 // Bug #79984
2 using System;
4 class X
6 static void Main ()
7 { }
10 class Foo
12 public int X;
15 abstract class Base
17 public abstract void Method<R> ()
18 where R : Foo, new ();
21 class Derived : Base
23 public override void Method<S> ()
25 Method2<S> ();
26 // S s = new S ();
27 // Console.WriteLine (s.X);
30 public void Method2<T> ()
31 where T : Foo, new ()
33 T t = new T ();
34 Console.WriteLine (t.X);