Merge pull request #4935 from lambdageek/dev-handles-may
[mono.git] / mcs / tests / gtest-026.cs
1 // Test access to class fields outside the generic type declaration.
2
3 class Foo<T>
4 {
5         public T Hello;
6
7         public Foo ()
8         { }
9 }
10
11 class X
12 {
13         public static void Main ()
14         {
15                 Foo<int> foo = new Foo<int> ();
16                 foo.Hello = 9;
17         }
18 }