remove NotWorking
[mcs.git] / tests / test-283.cs
blobf4b0bc8d06f476ab4ee56e52b36ae4ce42f466ac
1 class X {
2 public virtual int Foo () {
3 return 1;
7 class Y : X {
9 delegate int D();
12 D GetIt () {
13 return new D (base.Foo);
16 D GetIt2 () {
17 return base.Foo;
20 public override int Foo () {
21 return 0;
24 static int Main ()
26 if (new Y ().GetIt () () == 1 && new Y ().GetIt2 () () == 1) {
27 System.Console.WriteLine ("good");
28 return 0;
31 return 1;