Merge pull request #4419 from BrzVlad/fix-oom-nre
[mono.git] / mcs / tests / gtest-206.cs
1 class Continuation<R,A>
2 {
3         public static Continuation<R,A> CallCC<B> (object f)
4         {
5                 return null;
6         }
7 }
8
9 class Driver
10 {
11         static Continuation<B,A> myTry<A,B> (B f, A x)
12         {
13                 return Continuation<B,A>.CallCC <object> (null);
14         }
15
16         public static void Main()
17         {
18                 myTry <int,int> (3, 7);
19         }
20 }
21
22