Merge pull request #487 from mayerwin/patch-1
[mono.git] / mcs / tests / gtest-collectioninit-03.cs
1 using System.Collections;
2
3 class X
4 {
5         public static int Main ()
6         {
7                 object x = null;
8                 R (ref x);
9                 return ((Hashtable)x).Count == 1 ? 0 : 1;
10         }
11
12         static void R (ref object o)
13         {
14                 o = new Hashtable () { { 1, 2 } };
15         }
16 }