[runtime] Don't insta-fail when a faulty COM type is encountered. (#5616)
[mono.git] / mcs / tests / gtest-325.cs
1 public class SomeClass<T> where T : new() {
2     public void Foo() {
3         new T();
4     }
5 }
6
7 class Foo {
8         public static void Main ()
9         {
10                 SomeClass<object> x = new SomeClass<object> ();
11                 x.Foo ();
12         }
13 }