a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
293 B
C#
29 lines
293 B
C#
// Compiler options: -t:library
|
|
|
|
public class G<T> where T : G<T>.GPD
|
|
{
|
|
public interface IGD
|
|
{
|
|
}
|
|
|
|
public class GPD : IGD
|
|
{
|
|
public T GT;
|
|
|
|
public void Foo ()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
public class H<T>
|
|
{
|
|
public class N<U, V> where U : H<T> where V : H<T>.M<V>
|
|
{
|
|
}
|
|
|
|
public class M<X>
|
|
{
|
|
}
|
|
}
|