38 lines
388 B
C#
Raw Normal View History

using System;
using TestAlias = A.N<double>;
class C<T>
{
public class Foo<U>
{
}
public class Simple
{
}
static Type foo = typeof (Foo<>);
static Type simple = typeof (Simple);
}
class A
{
public class N<T>
{
}
}
class M
{
public static int Main ()
{
new C<int> ();
if (typeof (TestAlias).ToString () != "A+N`1[System.Double]")
return 1;
return 0;
}
}