a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
32 lines
348 B
C#
32 lines
348 B
C#
using System;
|
|
public delegate void Simple ();
|
|
|
|
public delegate Simple Foo ();
|
|
|
|
class X
|
|
{
|
|
public void Hello<U> (U u)
|
|
{
|
|
}
|
|
|
|
public void Test<T> (T t)
|
|
{
|
|
{
|
|
T u = t;
|
|
Hello (u);
|
|
Foo foo = delegate {
|
|
T v = u;
|
|
Hello (u);
|
|
return delegate {
|
|
Hello (u);
|
|
Hello (v);
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|