a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
148 B
C#
16 lines
148 B
C#
// May use a constructed type as constraint.
|
|
|
|
class Test<T>
|
|
{ }
|
|
|
|
class Foo<T>
|
|
where T : Test<T>
|
|
{ }
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|