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

29 lines
384 B
C#

using System;
namespace test
{
public class App
{
public static void Main() {
}
}
public class ThisClass<T, O>
where T: ThisClass<T, O>
where O: OtherClass<O, T>
{
internal int dummy;
}
public class OtherClass<O, T>
where O: OtherClass<O, T>
where T: ThisClass<T, O>
{
public void Test(T tc) {
tc.dummy = 0;
}
}
}