Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
220 B
C#

class A<U>
{
protected int foo;
}
class B<T> : A<T>
{
protected class N
{
public void Test (C b)
{
var v = b.foo;
}
}
}
class C : B<int>
{
public static void Main ()
{
new C.N ().Test (new C ());
}
}