* ResolvedReference.cs (.ctor): Set 'OriginalItemSpec' and 'ResolvedFrom',
[mcs.git] / tests / gtest-313.cs
blob8ffb85f6debe754eb69ac39b995b895ca1b00ec2
1 using System;
3 class Foo<T>
5 public enum TestEnum { One, Two, Three }
7 public TestEnum Test;
9 public Foo (TestEnum test)
11 this.Test = test;
15 class X
17 static void Main ()
19 Foo<int>.TestEnum e = Foo<int>.TestEnum.One;
20 Console.WriteLine (e);
22 Foo<int> foo = new Foo<int> (e);
23 foo.Test = e;