Update dependencies from https://github.com/dotnet/arcade build 20190729.1 (#15881)
[mono-project.git] / mcs / tests / gtest-313.cs
blob92a36ba7a35ef95bd263502f5f6244c445a5721f
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 public 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;