Update dependencies from https://github.com/dotnet/arcade build 20190729.1 (#15881)
[mono-project.git] / mcs / tests / gtest-466.cs
blobdd801aac62c24cdfab32d103c3b05f4e25997d7b
1 using System;
3 class Program
5 bool Test<T> (T t) where T : class
7 return t == this;
10 public static int Main ()
12 var p = new Program ();
14 if (p.Test ("a"))
15 return 1;
17 if (!p.Test (p))
18 return 2;
20 return 0;