2010-05-13 Rodrigo Kumpera <rkumpera@novell.com>
[mono-project.git] / mcs / tests / gtest-168-lib.cs
blobafc0c240c830c80a7aae8b8ea949400481a69a0a
1 // Compiler options: -t:library
2 using System;
4 interface IComp<a>
5 { }
7 class opt<c>
8 { }
10 abstract class Func<p1,r>
12 public r apply (p1 x)
14 throw new System.Exception ();
18 class NemerleMap<a,b>
19 where a : IComp<a>
21 public opt<b> Find (a k)
23 return null;
26 public void Fold<d> (a y)
30 class lambda<d,aa,bb> : Func<aa,aa>
31 where aa : IComp<aa>
33 public aa apply2 (aa x)
35 return x;