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

23 lines
288 B
C#

class Continuation<R,A>
{
public static Continuation<R,A> CallCC<B> (object f)
{
return null;
}
}
class Driver
{
static Continuation<B,A> myTry<A,B> (B f, A x)
{
return Continuation<B,A>.CallCC <object> (null);
}
public static void Main()
{
myTry <int,int> (3, 7);
}
}