[build] Fix warning (#4177)
[mono-project.git] / mcs / tests / gtest-502.cs
blob6789ff87568c8b7856b25b169255f97c416122bb
1 using System;
2 using TestAlias = A.N<double>;
4 class C<T>
6 public class Foo<U>
10 public class Simple
14 static Type foo = typeof (Foo<>);
15 static Type simple = typeof (Simple);
18 class D<U> : C<U>
22 class A
24 public class N<T>
29 class M
31 public static int Main ()
33 new C<int> ();
35 if (typeof (TestAlias).ToString () != "A+N`1[System.Double]")
36 return 1;
38 if (typeof (D<>.Simple).ToString () != "C`1+Simple[T]")
39 return 2;
41 return 0;