cosmetic
[mcs.git] / tests / gtest-446.cs
blobd949be5221ad7cca2e3c3eb5df2b433076c27032
1 using System;
3 namespace BugTest
5 class Bug<T> where T : new ()
7 public void CreateObject (out T param)
9 param = new T ();
13 static class Program
15 public static int Main ()
17 Bug<object> bug = new Bug<object> ();
18 object test;
19 bug.CreateObject (out test);
20 return 0;