Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / gtest-567.cs
blob9c1dac2a78bc84ae1ad5c8da5e025031c649c860
1 using System;
3 class C
5 public static void Main ()
7 G<C>.Foo ();
8 G2<C>.Foo ();
12 class G<T> where T : new ()
14 public static void Foo ()
16 Console.WriteLine ((new T ()).GetType ().ToString ());
20 class G2<T> where T : class, new ()
22 public static void Foo ()
24 Console.WriteLine ((new T ()).GetType ().ToString ());